This is an archive of the discontinued LLVM Phabricator instance.

Add convenient composed tsan constants
ClosedPublic

Authored by mvels on Mar 30 2021, 7:11 AM.

Details

Summary

This change adds convenient composed constants to be used for tsan_read_try_lock annotations, reducing the boilerplate at the instrumentation site.

Diff Detail

Event Timeline

mvels requested review of this revision.Mar 30 2021, 7:11 AM
mvels created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2021, 7:11 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
dvyukov accepted this revision.Apr 15 2021, 12:05 AM
This revision is now accepted and ready to land.Apr 15 2021, 12:05 AM
This revision was automatically updated to reflect the committed changes.