This is an archive of the discontinued LLVM Phabricator instance.

tsan: minor MetaMap tweaks
ClosedPublic

Authored by dvyukov on Aug 3 2021, 9:45 AM.

Details

Summary
  1. Add some comments.
  2. Use kInvalidStackID instead of literal 0.
  3. Add more LIKELY/UNLIKELY.

Diff Detail

Event Timeline

dvyukov created this revision.Aug 3 2021, 9:45 AM
dvyukov requested review of this revision.Aug 3 2021, 9:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2021, 9:45 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Aug 3 2021, 10:12 AM
melver added inline comments.
compiler-rt/lib/tsan/rtl/tsan_sync.h
49

s/decriptor/descriptor/
?

This revision is now accepted and ready to land.Aug 3 2021, 10:12 AM
vitalybuka accepted this revision.Aug 3 2021, 10:12 AM

Add some comments.
Use kInvalidStackID instead of literal 0.
Add more LIKELY/UNLIKELY.

Descriptions says it's 3 separate patches which even do not need a review :)

dvyukov updated this revision to Diff 364040.Aug 4 2021, 4:18 AM

s/decriptor/descriptor/

dvyukov marked an inline comment as done.Aug 4 2021, 4:20 AM

Add some comments.
Use kInvalidStackID instead of literal 0.
Add more LIKELY/UNLIKELY.

Descriptions says it's 3 separate patches which even do not need a review :)

Would you prefer smaller changes in future?
I am just trying to sort out a 6000-line diff, so thought some aggregation will reduce overheads on both sides.

This revision was landed with ongoing or failed builds.Aug 4 2021, 4:20 AM
This revision was automatically updated to reflect the committed changes.