[compiler-rt] [tsan] Fix running check-ubsan with COMPILER_RT_DEBUG=ON (PR #83890)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 16:19:19 PST 2024
================
@@ -212,8 +212,8 @@ struct InternalDeadlockDetector {
return initialized > 0;
}
};
-
-static THREADLOCAL InternalDeadlockDetector deadlock_detector;
+__attribute__((tls_model("initial-exec"))) static THREADLOCAL
----------------
MaskRay wrote:
This deserves a comment.
https://github.com/llvm/llvm-project/pull/83890
More information about the llvm-commits
mailing list