Makefile (b655ec9752ee1da47110c5f0dacc0003ca55a7ad) Makefile (53b715b5ba3f838ab20de8d3f34297c6555c7981)
1# $FreeBSD$
2
3.include <bsd.init.mk>
4
1# $FreeBSD$
2
3.include <bsd.init.mk>
4
5LIB= clang_rt.asan-${CRTARCH}
5LIB= clang_rt.asan-${CRTARCH}
6
6
7.PATH: ${CRTSRC}/lib/asan\
8 ${CRTSRC}/lib/interception\
9 ${CRTSRC}/lib/sanitizer_common\
10 ${CRTSRC}/lib/lsan\
11 ${CRTSRC}/lib/ubsan
7SRCS+= asan/asan_activation.cc
8SRCS+= asan/asan_allocator.cc
9SRCS+= asan/asan_debugging.cc
10SRCS+= asan/asan_fake_stack.cc
11SRCS+= asan/asan_flags.cc
12SRCS+= asan/asan_globals.cc
13SRCS+= asan/asan_interceptors.cc
14SRCS+= asan/asan_linux.cc
15SRCS+= asan/asan_mac.cc
16SRCS+= asan/asan_malloc_linux.cc
17SRCS+= asan/asan_malloc_mac.cc
18SRCS+= asan/asan_malloc_win.cc
19SRCS+= asan/asan_memory_profile.cc
20SRCS+= asan/asan_poisoning.cc
21SRCS+= asan/asan_posix.cc
22SRCS+= asan/asan_preinit.cc
23SRCS+= asan/asan_report.cc
24SRCS+= asan/asan_rtl.cc
25SRCS+= asan/asan_stack.cc
26SRCS+= asan/asan_stats.cc
27SRCS+= asan/asan_suppressions.cc
28SRCS+= asan/asan_thread.cc
29SRCS+= asan/asan_win.cc
30SRCS+= interception/interception_linux.cc
31SRCS+= interception/interception_mac.cc
32SRCS+= interception/interception_type_test.cc
33SRCS+= interception/interception_win.cc
34SRCS+= lsan/lsan_common.cc
35SRCS+= lsan/lsan_common_linux.cc
36SRCS+= sanitizer_common/sanitizer_allocator.cc
37SRCS+= sanitizer_common/sanitizer_common.cc
38SRCS+= sanitizer_common/sanitizer_common_libcdep.cc
39SRCS+= sanitizer_common/sanitizer_coverage_libcdep.cc
40SRCS+= sanitizer_common/sanitizer_coverage_mapping_libcdep.cc
41SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc
42SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc
43SRCS+= sanitizer_common/sanitizer_flag_parser.cc
44SRCS+= sanitizer_common/sanitizer_flags.cc
45SRCS+= sanitizer_common/sanitizer_libc.cc
46SRCS+= sanitizer_common/sanitizer_libignore.cc
47SRCS+= sanitizer_common/sanitizer_linux.cc
48SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc
49SRCS+= sanitizer_common/sanitizer_linux_x86_64.S
50SRCS+= sanitizer_common/sanitizer_mac.cc
51SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc
52SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc
53SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc
54SRCS+= sanitizer_common/sanitizer_posix.cc
55SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc
56SRCS+= sanitizer_common/sanitizer_printf.cc
57SRCS+= sanitizer_common/sanitizer_procmaps_common.cc
58SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc
59SRCS+= sanitizer_common/sanitizer_procmaps_linux.cc
60SRCS+= sanitizer_common/sanitizer_procmaps_mac.cc
61SRCS+= sanitizer_common/sanitizer_stackdepot.cc
62SRCS+= sanitizer_common/sanitizer_stacktrace.cc
63SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc
64SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc
65SRCS+= sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
66SRCS+= sanitizer_common/sanitizer_suppressions.cc
67SRCS+= sanitizer_common/sanitizer_symbolizer.cc
68SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
69SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc
70SRCS+= sanitizer_common/sanitizer_symbolizer_mac.cc
71SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
72SRCS+= sanitizer_common/sanitizer_symbolizer_win.cc
73SRCS+= sanitizer_common/sanitizer_termination.cc
74SRCS+= sanitizer_common/sanitizer_thread_registry.cc
75SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc
76SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc
77SRCS+= sanitizer_common/sanitizer_win.cc
78SRCS+= ubsan/ubsan_diag.cc
79SRCS+= ubsan/ubsan_flags.cc
80SRCS+= ubsan/ubsan_handlers.cc
81SRCS+= ubsan/ubsan_init.cc
82SRCS+= ubsan/ubsan_value.cc
12
83
13SRCS= asan_preinit.cc\
14 asan_allocator.cc\
15 asan_activation.cc\
16 asan_debugging.cc\
17 asan_fake_stack.cc\
18 asan_flags.cc\
19 asan_globals.cc\
20 asan_interceptors.cc\
21 asan_linux.cc\
22 asan_mac.cc\
23 asan_malloc_linux.cc\
24 asan_malloc_mac.cc\
25 asan_malloc_win.cc\
26 asan_poisoning.cc\
27 asan_posix.cc\
28 asan_report.cc\
29 asan_rtl.cc\
30 asan_stack.cc\
31 asan_stats.cc\
32 asan_suppressions.cc\
33 asan_thread.cc\
34 asan_win.cc\
35 interception_linux.cc\
36 interception_mac.cc\
37 interception_win.cc\
38 interception_type_test.cc\
39 sanitizer_allocator.cc\
40 sanitizer_common.cc\
41 sanitizer_deadlock_detector1.cc\
42 sanitizer_deadlock_detector2.cc\
43 sanitizer_flags.cc\
44 sanitizer_flag_parser.cc\
45 sanitizer_libc.cc\
46 sanitizer_libignore.cc\
47 sanitizer_linux.cc\
48 sanitizer_mac.cc\
49 sanitizer_persistent_allocator.cc\
50 sanitizer_platform_limits_linux.cc\
51 sanitizer_platform_limits_posix.cc\
52 sanitizer_posix.cc\
53 sanitizer_printf.cc\
54 sanitizer_procmaps_common.cc\
55 sanitizer_procmaps_freebsd.cc\
56 sanitizer_procmaps_linux.cc\
57 sanitizer_procmaps_mac.cc\
58 sanitizer_stackdepot.cc\
59 sanitizer_stacktrace.cc\
60 sanitizer_stacktrace_printer.cc\
61 sanitizer_suppressions.cc\
62 sanitizer_symbolizer.cc\
63 sanitizer_symbolizer_libbacktrace.cc\
64 sanitizer_symbolizer_mac.cc\
65 sanitizer_symbolizer_win.cc\
66 sanitizer_tls_get_addr.cc\
67 sanitizer_thread_registry.cc\
68 sanitizer_win.cc\
69 sanitizer_common_libcdep.cc\
70 sanitizer_coverage_libcdep.cc\
71 sanitizer_coverage_mapping_libcdep.cc\
72 sanitizer_linux_libcdep.cc\
73 sanitizer_posix_libcdep.cc\
74 sanitizer_stacktrace_libcdep.cc\
75 sanitizer_stoptheworld_linux_libcdep.cc\
76 sanitizer_symbolizer_libcdep.cc\
77 sanitizer_symbolizer_posix_libcdep.cc\
78 sanitizer_unwind_linux_libcdep.cc\
79 lsan_common.cc\
80 lsan_common_linux.cc\
81 ubsan_diag.cc\
82 ubsan_init.cc\
83 ubsan_flags.cc\
84 ubsan_handlers.cc\
85 ubsan_value.cc
86
87.include <bsd.lib.mk>
84.include <bsd.lib.mk>