tsan: fork runtime
authorDmitry Vyukov <dvyukov@google.com>
Thu, 9 Dec 2021 06:18:20 +0000 (07:18 +0100)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 9 Dec 2021 06:28:26 +0000 (07:28 +0100)
commit8e93d4c996c0ae6605ba14f1e9d16dc45b0ab695
tree67f9e625abf3dd09cc21c026b5a28fce8905bb33
parent9791b589516b644a6273607b46a9c6661993d667
tsan: fork runtime

Fork the current version of tsan runtime before commiting
rewrite of the runtime (D112603). The old runtime can be
enabled with TSAN_USE_OLD_RUNTIME option.
This is a temporal measure for emergencies and is required
for Chromium rollout (for context see http://crbug.com/1275581).
The old runtime is supposed to be deleted soon.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D115223
72 files changed:
compiler-rt/lib/tsan/CMakeLists.txt
compiler-rt/lib/tsan/rtl-old/CMakeLists.txt [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan.syms.extra [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_clock.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_clock.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_debugging.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_defs.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_dense_alloc.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_dispatch_defs.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_external.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_fd.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_fd.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_flags.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_flags.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_flags.inc [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_ignoreset.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_ignoreset.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_ilist.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interceptors.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interceptors_libdispatch.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interceptors_mac.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interceptors_mach_vm.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interceptors_posix.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface.inc [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface_ann.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface_ann.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface_atomic.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface_java.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_interface_java.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_malloc_mac.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_md5.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_mman.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_mutexset.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_mutexset.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_new_delete.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_platform.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_platform_linux.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_platform_posix.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_platform_windows.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_ppc_regs.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_preinit.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_report.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_report.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_aarch64.S [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_access.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_amd64.S [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_mips64.S [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_mutex.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_ppc64.S [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_proc.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_report.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_s390x.S [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_rtl_thread.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_shadow.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_stack_trace.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_stack_trace.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_suppressions.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_suppressions.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_symbolize.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_symbolize.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_sync.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_sync.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_trace.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_update_shadow_word.inc [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_vector_clock.cpp [new file with mode: 0644]
compiler-rt/lib/tsan/rtl-old/tsan_vector_clock.h [new file with mode: 0644]