xref: /freebsd/lib/libclang_rt/asan/Makefile (revision 8c2f6c3be0125142d3c1782e4b0ee0634c584b9e)
1
2.include <bsd.init.mk>
3
4LIB=		clang_rt.asan-${CRTARCH}
5
6SRCS+=		asan/asan_activation.cpp
7SRCS+=		asan/asan_allocator.cpp
8SRCS+=		asan/asan_debugging.cpp
9SRCS+=		asan/asan_descriptions.cpp
10SRCS+=		asan/asan_errors.cpp
11SRCS+=		asan/asan_fake_stack.cpp
12SRCS+=		asan/asan_flags.cpp
13SRCS+=		asan/asan_globals.cpp
14SRCS+=		asan/asan_interceptors.cpp
15SRCS+=		asan/asan_interceptors_memintrinsics.cpp
16SRCS+=		asan/asan_linux.cpp
17SRCS+=		asan/asan_malloc_linux.cpp
18SRCS+=		asan/asan_memory_profile.cpp
19SRCS+=		asan/asan_poisoning.cpp
20SRCS+=		asan/asan_posix.cpp
21SRCS+=		asan/asan_preinit.cpp
22SRCS+=		asan/asan_report.cpp
23SRCS+=		asan/asan_rtl.cpp
24SRCS+=		asan/asan_shadow_setup.cpp
25SRCS+=		asan/asan_stack.cpp
26SRCS+=		asan/asan_stats.cpp
27SRCS+=		asan/asan_suppressions.cpp
28SRCS+=		asan/asan_thread.cpp
29SRCS+=		interception/interception_linux.cpp
30SRCS+=		lsan/lsan_common.cpp
31SRCS+=		sanitizer_common/sancov_flags.cpp
32SRCS+=		sanitizer_common/sanitizer_allocator.cpp
33SRCS+=		sanitizer_common/sanitizer_allocator_checks.cpp
34SRCS+=		sanitizer_common/sanitizer_allocator_report.cpp
35SRCS+=		sanitizer_common/sanitizer_chained_origin_depot.cpp
36SRCS+=		sanitizer_common/sanitizer_common.cpp
37SRCS+=		sanitizer_common/sanitizer_common_libcdep.cpp
38SRCS+=		sanitizer_common/sanitizer_coverage_libcdep_new.cpp
39SRCS+=		sanitizer_common/sanitizer_deadlock_detector1.cpp
40SRCS+=		sanitizer_common/sanitizer_dl.cpp
41SRCS+=		sanitizer_common/sanitizer_errno.cpp
42SRCS+=		sanitizer_common/sanitizer_file.cpp
43SRCS+=		sanitizer_common/sanitizer_flag_parser.cpp
44SRCS+=		sanitizer_common/sanitizer_flags.cpp
45SRCS+=		sanitizer_common/sanitizer_libc.cpp
46SRCS+=		sanitizer_common/sanitizer_libignore.cpp
47SRCS+=		sanitizer_common/sanitizer_linux.cpp
48SRCS+=		sanitizer_common/sanitizer_linux_libcdep.cpp
49SRCS+=		sanitizer_common/sanitizer_mutex.cpp
50SRCS+=		sanitizer_common/sanitizer_platform_limits_freebsd.cpp
51SRCS+=		sanitizer_common/sanitizer_posix.cpp
52SRCS+=		sanitizer_common/sanitizer_posix_libcdep.cpp
53SRCS+=		sanitizer_common/sanitizer_printf.cpp
54SRCS+=		sanitizer_common/sanitizer_procmaps_bsd.cpp
55SRCS+=		sanitizer_common/sanitizer_procmaps_common.cpp
56SRCS+=		sanitizer_common/sanitizer_range.cpp
57SRCS+=		sanitizer_common/sanitizer_stack_store.cpp
58SRCS+=		sanitizer_common/sanitizer_stackdepot.cpp
59SRCS+=		sanitizer_common/sanitizer_stacktrace.cpp
60SRCS+=		sanitizer_common/sanitizer_stacktrace_libcdep.cpp
61SRCS+=		sanitizer_common/sanitizer_stacktrace_printer.cpp
62SRCS+=		sanitizer_common/sanitizer_suppressions.cpp
63SRCS+=		sanitizer_common/sanitizer_symbolizer.cpp
64SRCS+=		sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp
65SRCS+=		sanitizer_common/sanitizer_symbolizer_libcdep.cpp
66SRCS+=		sanitizer_common/sanitizer_symbolizer_markup.cpp
67SRCS+=		sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
68SRCS+=		sanitizer_common/sanitizer_symbolizer_report.cpp
69SRCS+=		sanitizer_common/sanitizer_termination.cpp
70SRCS+=		sanitizer_common/sanitizer_thread_arg_retval.cpp
71SRCS+=		sanitizer_common/sanitizer_thread_registry.cpp
72SRCS+=		sanitizer_common/sanitizer_tls_get_addr.cpp
73SRCS+=		sanitizer_common/sanitizer_type_traits.cpp
74SRCS+=		sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
75SRCS+=		ubsan/ubsan_diag.cpp
76SRCS+=		ubsan/ubsan_flags.cpp
77SRCS+=		ubsan/ubsan_handlers.cpp
78SRCS+=		ubsan/ubsan_init.cpp
79SRCS+=		ubsan/ubsan_monitor.cpp
80SRCS+=		ubsan/ubsan_value.cpp
81
82FILESDIR=	${SANITIZER_SHAREDIR}
83FILES+=		asan/asan_ignorelist.txt
84
85.include <bsd.lib.mk>
86