zig/lib/tsan
Andrew Kelley 8219d92987 stage2: fix Cache deadlock and build more of TSAN
* rename is_compiler_rt_or_libc to skip_linker_dependencies
   and set it to `true` for all sub-Compilations. I believe
   this resolves the deadlock we were experiencing on Drone
   CI and on some users' computers. I will remove the CI workaround in
   a follow-up commit.
 * enabling TSAN automatically causes the Compilation to link against
   libc++ even if not requested, because TSAN depends on libc++.
 * add -fno-rtti flags where appropriate when building TSAN objects.
   Thanks Firefox317 for pointing this out.
 * TSAN support: resolve all the undefined symbols. We are still seeing
   a dependency on __gcc_personality_v0 but will resolve this one in a
   follow-up commit.
 * static libs do not try to build libc++ or libc++abi.
2020-12-24 01:18:48 -07:00
..
interception stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_common stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
ubsan WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_clock.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_clock.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_debugging.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_defs.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_dense_alloc.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_external.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_fd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_fd.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_flags.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_flags.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_flags.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_ignoreset.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_ignoreset.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interceptors_mac.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_interceptors_mach_vm.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_interceptors_posix.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interceptors.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface_ann.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface_ann.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface_atomic.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface_inl.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface_java.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface_java.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_interface.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_malloc_mac.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_md5.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_mman.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_mman.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_mutex.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_mutex.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_mutexset.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_mutexset.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_platform_linux.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_platform_mac.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_platform_posix.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_platform.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_ppc_regs.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_preinit.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_report.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_report.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_rtl_aarch64.S stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_rtl_amd64.S stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_rtl_mips64.S stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_rtl_mutex.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_rtl_ppc64.S stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
tsan_rtl_proc.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_rtl_report.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_rtl_thread.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_rtl.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_rtl.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_stack_trace.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_stack_trace.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_stat.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_stat.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_suppressions.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_suppressions.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_symbolize.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_symbolize.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_sync.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_sync.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_trace.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
tsan_update_shadow_word_inl.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00