diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-10 20:43:36 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-10 20:43:36 +0000 |
commit | 7f0f17b3fb5aa9c43e5952724dfc23814c9cba29 (patch) | |
tree | ce1e49b6722b965b5010fb0a1813b8809d68cd35 /llvm/tools/llvm-extract/llvm-extract.cpp | |
parent | 4773d0b4bf8c1c164a70e87c6358375ae730d4ef (diff) | |
download | bcm5719-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