[compiler-rt] r193417 - [sanitizer] Disable tmpnam_r interceptor on Mac.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Oct 25 09:22:50 PDT 2013


Author: eugenis
Date: Fri Oct 25 11:22:50 2013
New Revision: 193417

URL: http://llvm.org/viewvc/llvm-project?rev=193417&view=rev
Log:
[sanitizer] Disable tmpnam_r interceptor 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=193417&r1=193416&r2=193417&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Fri Oct 25 11:22:50 2013
@@ -142,7 +142,7 @@
   SI_MAC || SI_LINUX_NOT_ANDROID
 # define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETAFFINITY_NP SI_LINUX_NOT_ANDROID
 # define SANITIZER_INTERCEPT_TMPNAM SI_NOT_WINDOWS
-# define SANITIZER_INTERCEPT_TMPNAM_R SI_MAC || SI_LINUX_NOT_ANDROID
+# define SANITIZER_INTERCEPT_TMPNAM_R SI_LINUX_NOT_ANDROID
 # define SANITIZER_INTERCEPT_TEMPNAM SI_NOT_WINDOWS
 
 # define SANITIZER_INTERCEPT__EXIT SI_LINUX





More information about the llvm-commits mailing list