[compiler-rt] r261844 - [sanitizer] Disable recv and recvfrom interceptors on Windows.

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 01:36:21 PST 2016


Author: chefmax
Date: Thu Feb 25 03:36:20 2016
New Revision: 261844

URL: http://llvm.org/viewvc/llvm-project?rev=261844&view=rev
Log:
[sanitizer] Disable recv and recvfrom interceptors on Windows.

Trying to fix sanitizer-windows buildbot by disabling new interceptors on Windows.

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=261844&r1=261843&r2=261844&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Thu Feb 25 03:36:20 2016
@@ -272,6 +272,6 @@
 #define SANITIZER_INTERCEPT_CTERMID_R SI_MAC || SI_FREEBSD
 
 #define SANITIZER_INTERCEPTOR_HOOKS SI_LINUX
-#define SANITIZER_INTERCEPT_RECV_RECVFROM 1
+#define SANITIZER_INTERCEPT_RECV_RECVFROM SI_NOT_WINDOWS
 
 #endif  // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H




More information about the llvm-commits mailing list