zig/lib/tsan/sanitizer_common
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
..
sancov_flags.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sancov_flags.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_addrhashmap.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_bytemap.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_checks.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_allocator_checks.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_combined.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_interface.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_internal.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_local_cache.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_primary32.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_primary64.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_report.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_allocator_report.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_secondary.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_size_class_map.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator_stats.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_allocator.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_asm.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_atomic_clang_mips.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_atomic_clang_other.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_atomic_clang_x86.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_atomic_clang.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_atomic_msvc.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_atomic.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_bitvector.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_bvgraph.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_interceptors_format.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_interceptors_ioctl.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_interceptors_netbsd_compat.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_interceptors.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_interface_posix.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_interface.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_common_nolibc.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_common_syscalls.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_common.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_coverage_interface.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_dbghelp.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_deadlock_detector1.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_deadlock_detector2.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_deadlock_detector_interface.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_deadlock_detector.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_errno_codes.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_errno.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_errno.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_file.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_file.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_flag_parser.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_flag_parser.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_flags.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_flags.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_flags.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_freebsd.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_fuchsia.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_fuchsia.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_getauxval.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_glibc_version.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_hash.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_interceptors_ioctl_netbsd.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_interface_internal.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_internal_defs.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_lfstack.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_libc.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_libc.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_libignore.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_libignore.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_linux_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_linux_s390.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_linux.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_linux.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_list.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_local_address_space_view.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_mac_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_mac.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_mac.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_malloc_mac.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_mutex.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_netbsd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_openbsd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_persistent_allocator.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_persistent_allocator.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_placement_new.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_interceptors.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_freebsd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_freebsd.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_linux.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_netbsd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_netbsd.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_openbsd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_openbsd.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_posix.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_posix.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_solaris.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform_limits_solaris.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_platform.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_posix_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_posix.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_posix.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_printf.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps_bsd.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps_common.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps_fuchsia.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps_linux.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps_mac.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps_solaris.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_procmaps.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_ptrauth.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_quarantine.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_report_decorator.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_ring_buffer.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_rtems.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_rtems.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_signal_interceptors.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_solaris.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stackdepot.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stackdepot.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stackdepotbase.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stacktrace_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stacktrace_printer.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stacktrace_printer.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stacktrace_sparc.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stacktrace.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stacktrace.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stoptheworld_fuchsia.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stoptheworld_linux_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stoptheworld_mac.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_stoptheworld_netbsd_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_stoptheworld.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_suppressions.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_suppressions.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_symbolizer_fuchsia.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_symbolizer_internal.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_symbolizer_libbacktrace.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer_libbacktrace.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_symbolizer_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer_mac.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer_mac.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_symbolizer_markup.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer_posix_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer_report.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer_rtems.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_symbolizer_win.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_symbolizer.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_syscall_generic.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_syscall_linux_aarch64.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_syscall_linux_arm.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_syscall_linux_x86_64.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_syscalls_netbsd.inc WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_termination.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_thread_registry.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_thread_registry.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_tls_get_addr.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_tls_get_addr.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_type_traits.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_type_traits.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_unwind_linux_libcdep.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_unwind_win.cpp stage2: fix Cache deadlock and build more of TSAN 2020-12-24 01:18:48 -07:00
sanitizer_vector.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_win_defs.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_win_dll_thunk.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_win_weak_interception.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_win.cpp WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00
sanitizer_win.h WIP start adding support for TSAN 2020-12-24 01:18:47 -07:00