[libcxxabi] Use ASan interface header for declaration. NFC

This was changed from using the header to using a forward declaration in
c4600ccf89, 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
This commit is contained in:
Shoaib Meenai 2021-05-23 21:03:12 -07:00
parent ec402f1d5d
commit a051bbb53f
1 changed files with 1 additions and 1 deletions

View File

@ -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
// +---------------------------+-----------------------------+---------------+