This is an archive of the discontinued LLVM Phabricator instance.

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
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.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Nov 16 2021, 3:44 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 3:44 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Nov 16 2021, 7:00 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
This revision was automatically updated to reflect the committed changes.