[compiler-rt] [TSan] Fix deadlocks during TSan error reporting on Apple platforms (PR #151495)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 09:40:17 PDT 2025
https://github.com/thurstond commented:
> * All platforms: move OutputReport (and thus symbolization) after the locked region when reporting.
What is the intuition on why this is safe on all platforms?
(I don't have a counterexample, but it's not immediately obvious it is safe. If this change had been conditionally `#if SANITIZER_APPLE`, it would be a straightforward app(rov)al.)
https://github.com/llvm/llvm-project/pull/151495
More information about the llvm-commits
mailing list