Skip to content

Commit a051bbb

Browse files
committed
[libcxxabi] Use ASan interface header for declaration. NFC
This was changed from using the header to using a forward declaration in c4600cc, 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
1 parent ec402f1 commit a051bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxxabi/src/cxa_exception.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "include/atomic_support.h"
2121

2222
#if __has_feature(address_sanitizer)
23-
extern "C" void __asan_handle_no_return(void);
23+
#include <sanitizer/asan_interface.h>
2424
#endif
2525

2626
// +---------------------------+-----------------------------+---------------+

0 commit comments

Comments
 (0)