From bb16fc935b350a775ec52b6e189966c98cf5c127 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 14 Sep 2017 22:31:34 +0000 Subject: [ASAN] Revert r313303 - Add macro denoting availability of new `__asan_handle_no_return()` function. It was pointed out that compiler-rt has always defined the symbol, but only recently added it to the public headers. Meaning that libc++abi can re-declare it instead of needing this macro. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313306 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/sanitizer/asan_interface.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/sanitizer/asan_interface.h b/include/sanitizer/asan_interface.h index 8828392b6..e689a730e 100644 --- a/include/sanitizer/asan_interface.h +++ b/include/sanitizer/asan_interface.h @@ -148,10 +148,6 @@ extern "C" { // before things like _exit and execl to avoid false positives on stack. void __asan_handle_no_return(void); - // Required to allow ASAN versions of libc++abi to build against older - // versions of compiler-rt that do not provide this interface. -# define SANITIZER_ASAN_INTERFACE_HAS_HANDLE_NO_RETURN - #ifdef __cplusplus } // extern "C" #endif -- cgit v1.2.3