llvm-project/compiler-rt/lib/tsan/rtl
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
..
tsan.syms.extra [compiler-rt][tsan] Make fiber support in thread sanitizer dynamic linkable 2020-03-11 14:14:33 +01:00
tsan_clock.cpp tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tsan_clock.h tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tsan_debugging.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_defs.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_dense_alloc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_dispatch_defs.h Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_external.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_fd.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_fd.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_flags.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_flags.h Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
tsan_flags.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_ignoreset.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_ignoreset.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_interceptors.h tsan: add fiber support 2019-02-13 13:21:24 +00:00
tsan_interceptors_libdispatch.cpp [TSan] Rename file with libdispatch interceptors 2019-08-20 00:04:19 +00:00
tsan_interceptors_mac.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interceptors_mach_vm.cpp [TSan] Add interceptors for mach_vm_[de]allocate 2019-09-09 18:57:32 +00:00
tsan_interceptors_posix.cpp tsan: fix pthread_detach with called_from_lib suppressions 2020-02-26 12:59:49 +01:00
tsan_interface.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface.h [TSAN] Add read/write range interface functions with PC 2019-09-24 11:19:02 +00:00
tsan_interface_ann.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface_ann.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_interface_atomic.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface_inl.h [TSAN] Add read/write range interface functions with PC 2019-09-24 11:19:02 +00:00
tsan_interface_java.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface_java.h Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_malloc_mac.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_md5.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_mman.cpp [sanitizer_common] Create max_allocation_size_mb flag. 2019-10-30 11:26:05 -07:00
tsan_mman.h Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_mutex.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_mutex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_mutexset.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_mutexset.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_new_delete.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_platform.h tsan: fix Go ppc64le build 2019-10-15 08:38:58 +00:00
tsan_platform_linux.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_platform_mac.cpp [TSan] Support pointer authentication in setjmp/longjmp interceptors 2020-03-18 11:46:23 -07:00
tsan_platform_posix.cpp [Sanitizer] Linux explicitally migrate shadow mapping to Transparent Huge Page 2019-08-06 21:30:03 +00:00
tsan_platform_windows.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_ppc_regs.h
tsan_preinit.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_report.cpp Rename tsan_interceptors.cpp into tsan_interceptors_posix.cpp 2019-10-01 00:58:26 +00:00
tsan_report.h sanitizers: Introduce ThreadType enum 2019-02-07 11:01:22 +00:00
tsan_rtl.cpp tsan: fix deadlock with pthread_atfork callbacks 2020-03-21 14:36:51 +01:00
tsan_rtl.h tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tsan_rtl_aarch64.S [TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.6 2019-07-16 20:41:04 +00:00
tsan_rtl_amd64.S Revert "[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.4" 2019-07-05 21:03:46 +00:00
tsan_rtl_mips64.S
tsan_rtl_mutex.cpp tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tsan_rtl_ppc64.S
tsan_rtl_proc.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_rtl_report.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_rtl_thread.cpp tsan: fix pthread_detach with called_from_lib suppressions 2020-02-26 12:59:49 +01:00
tsan_stack_trace.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_stack_trace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_stat.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_stat.h tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tsan_suppressions.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_suppressions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_symbolize.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_symbolize.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_sync.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_sync.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_trace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tsan_update_shadow_word_inl.h tsan: Optimize performance of Thread sanitizer memory access functions 2019-02-07 12:43:09 +00:00