[compiler-rt] r230507 - Address post-commit feedback on r230344: Don't use weak hooks on Sanitizer Go build for Windows
Timur Iskhodzhanov
timurrrr at google.com
Wed Feb 25 09:19:43 PST 2015
Author: timurrrr
Date: Wed Feb 25 11:19:42 2015
New Revision: 230507
URL: http://llvm.org/viewvc/llvm-project?rev=230507&view=rev
Log:
Address post-commit feedback on r230344: Don't use weak hooks on Sanitizer Go build for Windows
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h?rev=230507&r1=230506&r2=230507&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h Wed Feb 25 11:19:42 2015
@@ -32,7 +32,7 @@
# define SANITIZER_WEAK_ATTRIBUTE __attribute__((weak))
#endif
-#if (SANITIZER_LINUX && !defined(SANITIZER_GO)) || SANITIZER_WINDOWS
+#if (SANITIZER_LINUX || SANITIZER_WINDOWS) && !defined(SANITIZER_GO)
# define SANITIZER_SUPPORTS_WEAK_HOOKS 1
#else
# define SANITIZER_SUPPORTS_WEAK_HOOKS 0
More information about the llvm-commits
mailing list