# Generated by devtools/yamaker. INCLUDE(${ARCADIA_ROOT}/build/platform/clang/arch.cmake) LIBRARY(clang_rt.tsan${CLANG_RT_SUFFIX}) VERSION(14.0.6) LICENSE( Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND MIT AND NCSA ) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) SUBSCRIBER(g:cpp-contrib) ADDINCL( contrib/libs/clang14-rt/lib ) NO_COMPILER_WARNINGS() NO_UTIL() NO_SANITIZE() CFLAGS( -DHAVE_RPC_XDR_H=0 -DUBSAN_CAN_USE_CXXABI -fPIE -fcommon -fno-builtin -fno-exceptions -fno-lto -fno-rtti -fno-stack-protector -fomit-frame-pointer -funwind-tables -fvisibility=hidden ) SRCDIR(contrib/libs/clang14-rt/lib) SRCS( interception/interception_linux.cpp interception/interception_mac.cpp interception/interception_type_test.cpp interception/interception_win.cpp sanitizer_common/sancov_flags.cpp sanitizer_common/sanitizer_allocator.cpp sanitizer_common/sanitizer_allocator_checks.cpp sanitizer_common/sanitizer_allocator_report.cpp sanitizer_common/sanitizer_chained_origin_depot.cpp sanitizer_common/sanitizer_common.cpp sanitizer_common/sanitizer_common_libcdep.cpp sanitizer_common/sanitizer_coverage_fuchsia.cpp sanitizer_common/sanitizer_coverage_libcdep_new.cpp sanitizer_common/sanitizer_coverage_win_sections.cpp sanitizer_common/sanitizer_deadlock_detector1.cpp sanitizer_common/sanitizer_deadlock_detector2.cpp sanitizer_common/sanitizer_errno.cpp sanitizer_common/sanitizer_file.cpp sanitizer_common/sanitizer_flag_parser.cpp sanitizer_common/sanitizer_flags.cpp sanitizer_common/sanitizer_fuchsia.cpp sanitizer_common/sanitizer_libc.cpp sanitizer_common/sanitizer_libignore.cpp sanitizer_common/sanitizer_linux.cpp sanitizer_common/sanitizer_linux_libcdep.cpp sanitizer_common/sanitizer_linux_s390.cpp sanitizer_common/sanitizer_mac.cpp sanitizer_common/sanitizer_mac_libcdep.cpp sanitizer_common/sanitizer_mutex.cpp sanitizer_common/sanitizer_netbsd.cpp sanitizer_common/sanitizer_platform_limits_freebsd.cpp sanitizer_common/sanitizer_platform_limits_linux.cpp sanitizer_common/sanitizer_platform_limits_netbsd.cpp sanitizer_common/sanitizer_platform_limits_posix.cpp sanitizer_common/sanitizer_platform_limits_solaris.cpp sanitizer_common/sanitizer_posix.cpp sanitizer_common/sanitizer_posix_libcdep.cpp sanitizer_common/sanitizer_printf.cpp sanitizer_common/sanitizer_procmaps_bsd.cpp sanitizer_common/sanitizer_procmaps_common.cpp sanitizer_common/sanitizer_procmaps_fuchsia.cpp sanitizer_common/sanitizer_procmaps_linux.cpp sanitizer_common/sanitizer_procmaps_mac.cpp sanitizer_common/sanitizer_procmaps_solaris.cpp sanitizer_common/sanitizer_solaris.cpp sanitizer_common/sanitizer_stack_store.cpp sanitizer_common/sanitizer_stackdepot.cpp sanitizer_common/sanitizer_stacktrace.cpp sanitizer_common/sanitizer_stacktrace_libcdep.cpp sanitizer_common/sanitizer_stacktrace_printer.cpp sanitizer_common/sanitizer_stacktrace_sparc.cpp sanitizer_common/sanitizer_stoptheworld_fuchsia.cpp sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp sanitizer_common/sanitizer_stoptheworld_mac.cpp sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cpp sanitizer_common/sanitizer_stoptheworld_win.cpp sanitizer_common/sanitizer_suppressions.cpp sanitizer_common/sanitizer_symbolizer.cpp sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp sanitizer_common/sanitizer_symbolizer_libcdep.cpp sanitizer_common/sanitizer_symbolizer_mac.cpp sanitizer_common/sanitizer_symbolizer_markup.cpp sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp sanitizer_common/sanitizer_symbolizer_report.cpp sanitizer_common/sanitizer_symbolizer_win.cpp sanitizer_common/sanitizer_termination.cpp sanitizer_common/sanitizer_thread_registry.cpp sanitizer_common/sanitizer_tls_get_addr.cpp sanitizer_common/sanitizer_type_traits.cpp sanitizer_common/sanitizer_unwind_linux_libcdep.cpp sanitizer_common/sanitizer_unwind_win.cpp sanitizer_common/sanitizer_win.cpp tsan/rtl/tsan_debugging.cpp tsan/rtl/tsan_external.cpp tsan/rtl/tsan_fd.cpp tsan/rtl/tsan_flags.cpp tsan/rtl/tsan_ignoreset.cpp tsan/rtl/tsan_interceptors_posix.cpp tsan/rtl/tsan_interface.cpp tsan/rtl/tsan_interface_ann.cpp tsan/rtl/tsan_interface_atomic.cpp tsan/rtl/tsan_interface_java.cpp tsan/rtl/tsan_malloc_mac.cpp tsan/rtl/tsan_md5.cpp tsan/rtl/tsan_mman.cpp tsan/rtl/tsan_mutexset.cpp tsan/rtl/tsan_platform_posix.cpp tsan/rtl/tsan_preinit.cpp tsan/rtl/tsan_report.cpp tsan/rtl/tsan_rtl.cpp tsan/rtl/tsan_rtl_aarch64.S tsan/rtl/tsan_rtl_access.cpp tsan/rtl/tsan_rtl_amd64.S tsan/rtl/tsan_rtl_mutex.cpp tsan/rtl/tsan_rtl_proc.cpp tsan/rtl/tsan_rtl_report.cpp tsan/rtl/tsan_rtl_thread.cpp tsan/rtl/tsan_stack_trace.cpp tsan/rtl/tsan_suppressions.cpp tsan/rtl/tsan_symbolize.cpp tsan/rtl/tsan_sync.cpp tsan/rtl/tsan_vector_clock.cpp ubsan/ubsan_diag.cpp ubsan/ubsan_flags.cpp ubsan/ubsan_handlers.cpp ubsan/ubsan_init.cpp ubsan/ubsan_monitor.cpp ubsan/ubsan_value.cpp ) IF (ARCH_PPC64LE) SRCS( tsan/rtl/tsan_rtl_ppc64.S ) ENDIF() IF (OS_DARWIN) SRCS( tsan/rtl/tsan_interceptors_mac.cpp tsan/rtl/tsan_interceptors_mach_vm.cpp tsan/rtl/tsan_platform_mac.cpp ) ELSEIF (OS_LINUX) SRCS( tsan/rtl/tsan_platform_linux.cpp ) ENDIF() END()