diff options
author | Petr Hosek <phosek@chromium.org> | 2017-08-16 21:58:09 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-08-16 21:58:09 +0000 |
commit | 00135562e50eab9702e28ab30697670b696b25cf (patch) | |
tree | f5278ef8170e8fecedafef228f5fa9c8211ba0a3 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 882f29630b0d3a611979054513084b5fa98aea00 (diff) | |
download | bcm5719-llvm-00135562e50eab9702e28ab30697670b696b25cf.tar.gz bcm5719-llvm-00135562e50eab9702e28ab30697670b696b25cf.zip |
[libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return
The ASan runtime on many systems intercepts cxa_throw just so it
can call asan_handle_no_return first. Some newer systems such as
Fuchsia don't use interceptors on standard library functions at all,
but instead use sanitizer-instrumented versions of the standard
libraries. When libc++abi is built with ASan, cxa_throw can just
call asan_handle_no_return itself so no interceptor is required.
Patch by Roland McGrath
Differential Revision: https://reviews.llvm.org/D36599
llvm-svn: 311045
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions