[PATCH] D18184: [tsan] Add interceptor for pthread_cond_timedwait_relative_np

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 07:31:58 PDT 2016


dvyukov added inline comments.

================
Comment at: lib/tsan/rtl/tsan_interceptors.cc:1104
@@ -1103,1 +1103,3 @@
 
+#define PTHREAD_COND_WAIT_BODY(call, c, m, t)                                  \
+  MemoryAccessRange(thr, pc, (uptr)c, sizeof(uptr), false);                    \
----------------
Can this be a function instead of a macro?


http://reviews.llvm.org/D18184





More information about the llvm-commits mailing list