Fixes:
- Setting the number of entries in a thread's clock to max between the thread and the SyncClock the thread is acquiring from
- Setting last_acquire_
Unit- and stress-test for releaseStoreAcquire added to tests/unit/tsan_clock_test.cpp
Paths
| Differential D78111
tsan: fixes to ThreadClock::releaseStoreAcquire ClosedPublic Authored by dfava on Apr 14 2020, 8:13 AM.
Details
Summary Fixes:
Unit- and stress-test for releaseStoreAcquire added to tests/unit/tsan_clock_test.cpp
Diff Detail Event TimelineComment Actions Please add a unit test for these bugs to tsan/tests/unit/tsan_clock_test.cpp and releaseStoreAcquire to the stress test in that file. This revision is now accepted and ready to land.Apr 16 2020, 2:22 AM
Revision Contents
Diff 257747 compiler-rt/lib/tsan/rtl/tsan_clock.cpp
compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cpp
|