[all-commits] [llvm/llvm-project] ba0e45: [NFC][TSan] Remove redundant Context::report_mtx

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Oct 2 20:15:57 PDT 2026


  Branch: refs/heads/users/vitalybuka/spr/nfctsan-remove-redundant-contextreport_mtx
  Home:   https://github.com/llvm/llvm-project
  Commit: ba0e4512b258099a3f77f92dccbe51ff24319026
      https://github.com/llvm/llvm-project/commit/ba0e4512b258099a3f77f92dccbe51ff24319026
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_defs.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
    M compiler-rt/lib/tsan/rtl/tsan_rtl.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp

  Log Message:
  -----------
  [NFC][TSan] Remove redundant Context::report_mtx

Context::report_mtx was only ever acquired immediately alongside
ScopedErrorReportLock (in ScopedReport and BackgroundThread). Remove
report_mtx and MutexTypeReport and rely on ScopedErrorReportLock.

Assisted-by: Gemini

Pull Request: https://github.com/llvm/llvm-project/pull/228605



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list