summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-25 13:55:29 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-25 13:55:29 +0000
commitc435fb07dd625fcd7be1aee0ffb4ce348a316a28 (patch)
tree83cf0638d0eebe98e0770f5dd8ca57bf46a588d6
parent2c65bbddd82acc8878f7ffb3ab2103251b3d4cb3 (diff)
downloadbcm5719-llvm-c435fb07dd625fcd7be1aee0ffb4ce348a316a28.tar.gz
bcm5719-llvm-c435fb07dd625fcd7be1aee0ffb4ce348a316a28.zip
[sanitizer] Limit fopen interceptor to linux.
llvm-svn: 207227
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
index 2401e470b91..acc7c8a9239 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -197,7 +197,7 @@
#define SANITIZER_INTERCEPT_XDR SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_TSEARCH SI_LINUX_NOT_ANDROID || SI_MAC
#define SANITIZER_INTERCEPT_LIBIO_INTERNALS SI_LINUX_NOT_ANDROID
-#define SANITIZER_INTERCEPT_FOPEN SI_NOT_WINDOWS
+#define SANITIZER_INTERCEPT_FOPEN SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_OPEN_MEMSTREAM SI_LINUX_NOT_ANDROID
#endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H
OpenPOWER on IntegriCloud