diff options
author | Shoaib Meenai <smeenai@fb.com> | 2021-05-24 07:03:12 +0300 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2021-05-25 23:07:13 +0300 |
commit | a051bbb53f6de8c2db8adf934ef7a9f5951ed0b8 (patch) | |
tree | 26dad74aa5868c97cf992fa8c912affd26550ca8 /libcxxabi/src/cxa_exception.cpp | |
parent | ec402f1d5da02dfbdc87d031ff99d7dbcada336f (diff) |
[libcxxabi] Use ASan interface header for declaration. NFC
This was changed from using the header to using a forward declaration in
c4600ccf891c, since older versions of the header didn't declare the
function. At this point, it's been declared for ~3.5 years, and it
should be pretty safe to assume that we can rely on the ASan interface
header to provide a declaration instead of needing to write our own.
Reviewed By: #libc_abi, ldionne
Differential Revision: https://reviews.llvm.org/D103003
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r-- | libcxxabi/src/cxa_exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp index ef30fe75c3ed..510827a37bb7 100644 --- a/libcxxabi/src/cxa_exception.cpp +++ b/libcxxabi/src/cxa_exception.cpp @@ -20,7 +20,7 @@ #include "include/atomic_support.h" #if __has_feature(address_sanitizer) -extern "C" void __asan_handle_no_return(void); +#include <sanitizer/asan_interface.h> #endif // +---------------------------+-----------------------------+---------------+ |