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

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 09:49:57 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
----------------
thurstond wrote:

Aren't they still used in lines 3034-3039 of this file?

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


More information about the llvm-commits mailing list