xref: /freebsd/lib/libclang_rt/tsan/Makefile (revision 07625bc4b30d66be5690d65debe56153aaf648bd)
1# $FreeBSD$
2
3.include <bsd.init.mk>
4
5LIB=		clang_rt.tsan-${CRTARCH}
6
7SRCS+=		interception/interception_linux.cpp
8SRCS+=		interception/interception_type_test.cpp
9SRCS+=		sanitizer_common/sancov_flags.cpp
10SRCS+=		sanitizer_common/sanitizer_allocator.cpp
11SRCS+=		sanitizer_common/sanitizer_allocator_checks.cpp
12SRCS+=		sanitizer_common/sanitizer_allocator_report.cpp
13SRCS+=		sanitizer_common/sanitizer_chained_origin_depot.cpp
14SRCS+=		sanitizer_common/sanitizer_common.cpp
15SRCS+=		sanitizer_common/sanitizer_common_libcdep.cpp
16SRCS+=		sanitizer_common/sanitizer_coverage_libcdep_new.cpp
17SRCS+=		sanitizer_common/sanitizer_deadlock_detector1.cpp
18SRCS+=		sanitizer_common/sanitizer_deadlock_detector2.cpp
19SRCS+=		sanitizer_common/sanitizer_errno.cpp
20SRCS+=		sanitizer_common/sanitizer_file.cpp
21SRCS+=		sanitizer_common/sanitizer_flag_parser.cpp
22SRCS+=		sanitizer_common/sanitizer_flags.cpp
23SRCS+=		sanitizer_common/sanitizer_libc.cpp
24SRCS+=		sanitizer_common/sanitizer_libignore.cpp
25SRCS+=		sanitizer_common/sanitizer_linux.cpp
26SRCS+=		sanitizer_common/sanitizer_linux_libcdep.cpp
27SRCS+=		sanitizer_common/sanitizer_mutex.cpp
28SRCS+=		sanitizer_common/sanitizer_persistent_allocator.cpp
29SRCS+=		sanitizer_common/sanitizer_platform_limits_freebsd.cpp
30SRCS+=		sanitizer_common/sanitizer_platform_limits_linux.cpp
31SRCS+=		sanitizer_common/sanitizer_platform_limits_posix.cpp
32SRCS+=		sanitizer_common/sanitizer_posix.cpp
33SRCS+=		sanitizer_common/sanitizer_posix_libcdep.cpp
34SRCS+=		sanitizer_common/sanitizer_printf.cpp
35SRCS+=		sanitizer_common/sanitizer_procmaps_bsd.cpp
36SRCS+=		sanitizer_common/sanitizer_procmaps_common.cpp
37SRCS+=		sanitizer_common/sanitizer_stackdepot.cpp
38SRCS+=		sanitizer_common/sanitizer_stacktrace.cpp
39SRCS+=		sanitizer_common/sanitizer_stacktrace_libcdep.cpp
40SRCS+=		sanitizer_common/sanitizer_stacktrace_printer.cpp
41SRCS+=		sanitizer_common/sanitizer_suppressions.cpp
42SRCS+=		sanitizer_common/sanitizer_symbolizer.cpp
43SRCS+=		sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp
44SRCS+=		sanitizer_common/sanitizer_symbolizer_libcdep.cpp
45SRCS+=		sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
46SRCS+=		sanitizer_common/sanitizer_symbolizer_report.cpp
47SRCS+=		sanitizer_common/sanitizer_termination.cpp
48SRCS+=		sanitizer_common/sanitizer_thread_registry.cpp
49SRCS+=		sanitizer_common/sanitizer_tls_get_addr.cpp
50SRCS+=		sanitizer_common/sanitizer_type_traits.cpp
51SRCS+=		sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
52SRCS+=		tsan/rtl/tsan_clock.cpp
53SRCS+=		tsan/rtl/tsan_debugging.cpp
54SRCS+=		tsan/rtl/tsan_external.cpp
55SRCS+=		tsan/rtl/tsan_fd.cpp
56SRCS+=		tsan/rtl/tsan_flags.cpp
57SRCS+=		tsan/rtl/tsan_ignoreset.cpp
58SRCS+=		tsan/rtl/tsan_interceptors_posix.cpp
59SRCS+=		tsan/rtl/tsan_interface.cpp
60SRCS+=		tsan/rtl/tsan_interface_ann.cpp
61SRCS+=		tsan/rtl/tsan_interface_atomic.cpp
62SRCS+=		tsan/rtl/tsan_interface_java.cpp
63SRCS+=		tsan/rtl/tsan_md5.cpp
64SRCS+=		tsan/rtl/tsan_mman.cpp
65SRCS+=		tsan/rtl/tsan_mutexset.cpp
66SRCS+=		tsan/rtl/tsan_platform_linux.cpp
67SRCS+=		tsan/rtl/tsan_platform_posix.cpp
68SRCS+=		tsan/rtl/tsan_preinit.cpp
69SRCS+=		tsan/rtl/tsan_report.cpp
70SRCS+=		tsan/rtl/tsan_rtl.cpp
71SRCS+=		tsan/rtl/tsan_rtl_amd64.S
72SRCS+=		tsan/rtl/tsan_rtl_mutex.cpp
73SRCS+=		tsan/rtl/tsan_rtl_proc.cpp
74SRCS+=		tsan/rtl/tsan_rtl_report.cpp
75SRCS+=		tsan/rtl/tsan_rtl_thread.cpp
76SRCS+=		tsan/rtl/tsan_stack_trace.cpp
77SRCS+=		tsan/rtl/tsan_suppressions.cpp
78SRCS+=		tsan/rtl/tsan_symbolize.cpp
79SRCS+=		tsan/rtl/tsan_sync.cpp
80SRCS+=		ubsan/ubsan_diag.cpp
81SRCS+=		ubsan/ubsan_flags.cpp
82SRCS+=		ubsan/ubsan_handlers.cpp
83SRCS+=		ubsan/ubsan_init.cpp
84SRCS+=		ubsan/ubsan_monitor.cpp
85SRCS+=		ubsan/ubsan_value.cpp
86
87.include <bsd.lib.mk>
88