We used to use u64 as mutex id because it was some
tricky identifier built from address and reuse count.
Now it's just the mutex index in the report (0, 1, 2...),
so use int to represent it.
Depends on D112603.
Paths
| Differential D113980
tsan: change ReportMutex::id type to int ClosedPublic Authored by dvyukov on Nov 16 2021, 3:44 AM.
Details
Summary We used to use u64 as mutex id because it was some Depends on D112603.
Diff Detail
Event Timelinedvyukov added a child revision: D113981: tsan: remove unused ReportMutex::destroyed.Nov 16 2021, 3:44 AM This revision is now accepted and ready to land.Nov 16 2021, 7:00 AM This revision was landed with ongoing or failed builds.Dec 21 2021, 2:36 AM Closed by commit rG69807fe16164: tsan: change ReportMutex::id type to int (authored by dvyukov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 395627 compiler-rt/lib/tsan/rtl/tsan_report.h
compiler-rt/lib/tsan/rtl/tsan_report.cpp
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
|