summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-extract/llvm-extract.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-09-10 20:43:36 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-09-10 20:43:36 +0000
commit7f0f17b3fb5aa9c43e5952724dfc23814c9cba29 (patch)
treece1e49b6722b965b5010fb0a1813b8809d68cd35 /llvm/tools/llvm-extract/llvm-extract.cpp
parent4773d0b4bf8c1c164a70e87c6358375ae730d4ef (diff)
downloadbcm5719-llvm-7f0f17b3fb5aa9c43e5952724dfc23814c9cba29.tar.gz
bcm5719-llvm-7f0f17b3fb5aa9c43e5952724dfc23814c9cba29.zip
[UBSan] Add noinline attribute to handlers that should never return.
FIx a problem reported by Jakub Jelinek: don't do early-exit from fatal UBSan handlers: even if source location is disabled (i.e. acquired by some other thread), we should continue the execution to make sure that: a) some thread will print the error report before calling Die(). b) handler marked as noreturn will indeed not return. Explicitly add "Die()" calls at the end of all fatal handlers to be sure UBSan handlers don't introduce UB themselves. llvm-svn: 217542
Diffstat (limited to 'llvm/tools/llvm-extract/llvm-extract.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud