[compiler-rt] tsan: Refine conditions to intercept pthread_cond_t functions (PR #154268)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 09:54:37 PDT 2025


================
@@ -341,11 +330,6 @@ void ScopedInterceptor::DisableIgnoresImpl() {
 }
 
 #define TSAN_INTERCEPT(func) INTERCEPT_FUNCTION(func)
-#if SANITIZER_FREEBSD || SANITIZER_NETBSD
-#  define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
-#else
-#  define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION_VER(func, ver)
-#endif
----------------
MaskRay wrote:

You are right. Fixed:)

https://github.com/llvm/llvm-project/pull/154268


More information about the llvm-commits mailing list