[llvm-branch-commits] [NFC][TSan] Check no locks are held in EnterSymbolizer (PR #228815)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Oct 3 20:15:13 PDT 2026


https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/228815

Verify CheckedMutex::CheckNoLocks() in EnterSymbolizer() to ensure no
internal TSan or ThreadRegistry locks are held when symbolizing. Also
remove the redundant ThreadRegistryLock debug check in ShouldReport(),
as ThreadRegistry uses CheckedMutex(MutexThreadRegistry) which is
already checked by CheckedMutex::CheckNoLocks().

Assisted-by: Gemini





More information about the llvm-branch-commits mailing list