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.
Details
Details
- Reviewers
EricWF phosek mclow.lists - Commits
- rG00135562e50e: [libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return
rCXXA311045: [libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return
rL311045: [libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
@EricWF does this look fine to you? I'm happy with this change and I'd like to land it if possible.