[compiler-rt] r318676 - Try to fix syntax for !NetBSD in TSAN_INTERCEPTORs

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 10:27:39 PST 2017


Author: kamil
Date: Mon Nov 20 10:27:39 2017
New Revision: 318676

URL: http://llvm.org/viewvc/llvm-project?rev=318676&view=rev
Log:
Try to fix syntax for !NetBSD in TSAN_INTERCEPTORs

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.h

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.h?rev=318676&r1=318675&r2=318676&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.h Mon Nov 20 10:27:39 2017
@@ -57,8 +57,8 @@ LibIgnore *libignore();
   TSAN_INTERCEPTOR(ret, __libc_thr_##func, __VA_ARGS__) \
   ALIAS(WRAPPER_NAME(pthread_##func));
 #else
-# define TSAN_INTERCEPTOR_NETBSD_ALIAS(func)
-# define TSAN_INTERCEPTOR_NETBSD_ALIAS_THR(func)
+# define TSAN_INTERCEPTOR_NETBSD_ALIAS(ret, func, ...)
+# define TSAN_INTERCEPTOR_NETBSD_ALIAS_THR(ret, func, ...)
 #endif
 
 #endif  // TSAN_INTERCEPTORS_H




More information about the llvm-commits mailing list