This is an archive of the discontinued LLVM Phabricator instance.

tsan: move AccessType to tsan_defs.h
ClosedPublic

Authored by dvyukov on Aug 4 2021, 8:07 AM.

Details

Summary

It will be needed in more functions like ReportRace
(the plan is to pass it through MemoryAccess to ReportRace)
and this move will allow to split the huge tsan_rtl.h into parts
(e.g. move FastState/Shadow definitions to a separate header).

Depends on D107465.

Diff Detail

Event Timeline

dvyukov created this revision.Aug 4 2021, 8:07 AM
dvyukov requested review of this revision.Aug 4 2021, 8:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2021, 8:07 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Aug 4 2021, 8:42 AM
This revision is now accepted and ready to land.Aug 4 2021, 8:42 AM
This revision was automatically updated to reflect the committed changes.