[llvm-branch-commits] [NFC][TSan] Check IsFiredSuppression before ScopedReport in ReportErrnoSpoiling (PR #228811)

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


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

Check IsFiredSuppression(ctx, ReportTypeErrnoInSignal, stack) and return
early before constructing ScopedReport in ReportErrnoSpoiling (matching
SignalUnsafeCall and ReportRace). This avoids acquiring
ScopedErrorReportLock and ThreadRegistryLock for already-suppressed
reports.

Assisted-by: Gemini





More information about the llvm-branch-commits mailing list