Skip to content

Commit

Permalink
[libcxxabi] Use ASan interface header for declaration. NFC
Browse files Browse the repository at this point in the history
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
  • Loading branch information
smeenai committed May 25, 2021
1 parent ec402f1 commit a051bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxxabi/src/cxa_exception.cpp
Expand Up @@ -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

// +---------------------------+-----------------------------+---------------+
Expand Down

0 comments on commit a051bbb

Please sign in to comment.