[compiler-rt] r182361 - [sanitizer] Enable pthread_getschedparam interceptor on Android.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue May 21 02:01:23 PDT 2013
Author: eugenis
Date: Tue May 21 04:01:23 2013
New Revision: 182361
URL: http://llvm.org/viewvc/llvm-project?rev=182361&view=rev
Log:
[sanitizer] Enable pthread_getschedparam interceptor on Android.
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=182361&r1=182360&r2=182361&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Tue May 21 04:01:23 2013
@@ -35,14 +35,14 @@
# define SI_LINUX 0
#endif
-# define SANITIZER_INTERCEPT_STRCASECMP SI_NOT_WINDOWS
-
#if SANITIZER_MAC
# define SI_MAC 1
#else
# define SI_MAC 0
#endif
+# define SANITIZER_INTERCEPT_STRCASECMP SI_NOT_WINDOWS
+
# define SANITIZER_INTERCEPT_READ SI_NOT_WINDOWS
# define SANITIZER_INTERCEPT_PREAD SI_NOT_WINDOWS
# define SANITIZER_INTERCEPT_WRITE SI_NOT_WINDOWS
@@ -69,7 +69,6 @@
# define SANITIZER_INTERCEPT_GLOB SI_LINUX_NOT_ANDROID
# define SANITIZER_INTERCEPT_WAIT SI_NOT_WINDOWS
# define SANITIZER_INTERCEPT_INET SI_NOT_WINDOWS
-# define SANITIZER_INTERCEPT_PTHREAD_GETSCHEDPARAM \
- SI_MAC || SI_LINUX_NOT_ANDROID
+# define SANITIZER_INTERCEPT_PTHREAD_GETSCHEDPARAM SI_NOT_WINDOWS
#endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H
More information about the llvm-commits
mailing list