This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Remove special SyncClock::kInvalidTid
ClosedPublic

Authored by vitalybuka on Apr 30 2021, 1:24 AM.

Diff Detail

Event Timeline

vitalybuka requested review of this revision.Apr 30 2021, 1:24 AM
vitalybuka created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 30 2021, 1:24 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
dvyukov accepted this revision.Apr 30 2021, 6:56 AM

LGTM with the Dirty size fix (if it's required).

compiler-rt/lib/tsan/rtl/tsan_clock.h
72

Does size of Dirty still equals to u64? I am not sure bitfields will be combined here.
Please add a static_assert on size.

This revision is now accepted and ready to land.Apr 30 2021, 6:56 AM
vitalybuka marked an inline comment as done.

static_assert

This revision was landed with ongoing or failed builds.Apr 30 2021, 1:39 PM
This revision was automatically updated to reflect the committed changes.