[all-commits] [llvm/llvm-project] 3b222e: tsan: fixes to ThreadClock::releaseStoreAcquire an...

Daniel Fava via All-commits all-commits at lists.llvm.org
Thu Apr 16 13:54:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b222ef246ef9298e57d00b7c8c1ffd92d0fb44d
      https://github.com/llvm/llvm-project/commit/3b222ef246ef9298e57d00b7c8c1ffd92d0fb44d
  Author: Daniel S Fava <danielsfava at gmail.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_clock.cpp
    M compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cpp

  Log Message:
  -----------
  tsan: fixes to ThreadClock::releaseStoreAcquire and tests

Fixes:
1. Setting the number of entries in a thread's clock to max between
   the thread and the SyncClock the thread is acquiring from
2. Setting last_acquire_

Unit- and stress-test for releaseStoreAcquire added to
tests/unit/tsan_clock_test.cpp




More information about the All-commits mailing list