This is an archive of the discontinued LLVM Phabricator instance.

tsan: add more micro benchmarks
ClosedPublic

Authored by dvyukov on Jul 28 2021, 7:37 AM.

Details

Summary
  1. Add a set of micro benchmarks for memory accesses, mem* functions and unaligned accesses.
  2. Add support for multiple benchmarks in a single binary (or it would require 12 new benchmark binaries).
  3. Remove the "clock growth" machinery, it affects the current tsan runtime by increasing size of all vector clocks, but this won't be relevant for the new tsan runtime.

Diff Detail

Event Timeline

dvyukov created this revision.Jul 28 2021, 7:37 AM
dvyukov requested review of this revision.Jul 28 2021, 7:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2021, 7:37 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Jul 28 2021, 10:46 AM
This revision is now accepted and ready to land.Jul 28 2021, 10:46 AM
This revision was automatically updated to reflect the committed changes.