[compiler-rt] r338577 - Add missing condition

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 08:30:14 PDT 2018


Author: filcab
Date: Wed Aug  1 08:30:14 2018
New Revision: 338577

URL: http://llvm.org/viewvc/llvm-project?rev=338577&view=rev
Log:
Add missing condition

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=338577&r1=338576&r2=338577&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Wed Aug  1 08:30:14 2018
@@ -4460,6 +4460,7 @@ INTERCEPTOR(int, random_r, void *buf, u3
 // its metadata. See
 // https://github.com/google/sanitizers/issues/321.
 #if SANITIZER_INTERCEPT_PTHREAD_ATTR_GET ||              \
+    SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED ||        \
     SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSSCHED || \
     SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GET ||         \
     SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GET ||        \




More information about the llvm-commits mailing list