[compiler-rt] r313306 - [ASAN] Revert r313303 - Add macro denoting availability of new `__asan_handle_no_return()` function.

Eric Fiselier via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 15:31:34 PDT 2017


Author: ericwf
Date: Thu Sep 14 15:31:34 2017
New Revision: 313306

URL: http://llvm.org/viewvc/llvm-project?rev=313306&view=rev
Log:
[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.

Modified:
    compiler-rt/trunk/include/sanitizer/asan_interface.h

Modified: compiler-rt/trunk/include/sanitizer/asan_interface.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/sanitizer/asan_interface.h?rev=313306&r1=313305&r2=313306&view=diff
==============================================================================
--- compiler-rt/trunk/include/sanitizer/asan_interface.h (original)
+++ compiler-rt/trunk/include/sanitizer/asan_interface.h Thu Sep 14 15:31:34 2017
@@ -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




More information about the llvm-commits mailing list