[llvm-branch-commits] [NFC][TSan] Remove unnecessary ThreadRegistryLock in signal and mutex-held reports (PR #228812)

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


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

Now that ScopedReport construction and AddStack do not require
ThreadRegistryLock, SignalUnsafeCall, ReportErrnoSpoiling, and
ReportMutexHeldWrongContext do not access thread_registry at all. Remove
the unnecessary ThreadRegistryLock scopes from these three functions.

Assisted-by: Gemini





More information about the llvm-branch-commits mailing list