[compiler-rt] r246190 - [sanitizer] Disable sem_* interceptors on Mac.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 12:20:01 PDT 2015
Author: eugenis
Date: Thu Aug 27 14:20:01 2015
New Revision: 246190
URL: http://llvm.org/viewvc/llvm-project?rev=246190&view=rev
Log:
[sanitizer] Disable sem_* interceptors on Mac.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h?rev=246190&r1=246189&r2=246190&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Thu Aug 27 14:20:01 2015
@@ -256,7 +256,7 @@
#define SANITIZER_INTERCEPT_MLOCKX SI_NOT_WINDOWS
#define SANITIZER_INTERCEPT_FOPENCOOKIE SI_LINUX_NOT_ANDROID
-#define SANITIZER_INTERCEPT_SEM SI_NOT_WINDOWS
+#define SANITIZER_INTERCEPT_SEM SI_LINUX || SI_FREEBSD
#define SANITIZER_INTERCEPTOR_HOOKS SI_LINUX
More information about the llvm-commits
mailing list