llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov 180d211770 tsan: Adding releaseAcquire() to ThreadClock
realeaseAcquire() is a new function added to TSan in support of the Go data-race detector.
It's semantics is:

void ThreadClock::releaseAcquire(SyncClock *sc) const {
  for (int i = 0; i < kMaxThreads; i++) {
    tmp = clock[i];
    clock[i] = max(clock[i], sc->clock[i]);
    sc->clock[i] = tmp;
  }
}

For context see: https://go-review.googlesource.com/c/go/+/220419

Reviewed-in: https://reviews.llvm.org/D76322
Author: dfava (Daniel Fava)
2020-03-24 11:27:46 +01:00
..
benchmarks compiler-rt: Rename .cc file in lib/tsan/{benchmarks,dd,go} to .cpp 2019-08-01 14:30:49 +00:00
dd compiler-rt: Rename .cc file in lib/tsan/{benchmarks,dd,go} to .cpp 2019-08-01 14:30:49 +00:00
go tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
rtl tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tests Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt [TSan] Add CMake check for minimal SDK requirements on Darwin 2020-02-26 11:33:24 -08:00
analyze_libtsan.sh
check_analyze.sh Stop counting pops in tsan/check_analyze.sh. 2019-06-17 20:47:16 +00:00
check_cmake.sh