diff options
author | Petr Hosek <phosek@chromium.org> | 2017-09-13 23:35:07 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-09-13 23:35:07 +0000 |
commit | 05e2ac5c83553f9678f018bd8032357f40882a80 (patch) | |
tree | 41b815d660eb57f0fe0a1adbe890f4b6b7c78f93 /src/stdlib_new_delete.cpp | |
parent | caa78daf9285dada17e3e6b8aebcf7d128427f83 (diff) |
Reland "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/D37229
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@313215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/stdlib_new_delete.cpp')
0 files changed, 0 insertions, 0 deletions