cfd5b20c8b
sanitizer libraries that already work on FreeBSD: * asan: Address Sanitizer * ubsan: Undefined Behavior Sanitizer * profile: Profile Guided Optimization support Please note that these libraries are *experimental* at this stage, so the main Makefile is not yet connected to the build. Since I didn't want to needlessly edit BSD.usr.dist, you will also have to create the install directory /usr/lib/clang/3.5.0/lib/freebsd manually for now.
79 lines
1.8 KiB
Makefile
79 lines
1.8 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
LIB= clang_rt.asan-${CRTARCH}
|
|
|
|
.PATH: ${CRTSRC}/lib/asan\
|
|
${CRTSRC}/lib/interception\
|
|
${CRTSRC}/lib/sanitizer_common\
|
|
${CRTSRC}/lib/lsan
|
|
|
|
SRCS= asan_preinit.cc\
|
|
asan_allocator2.cc\
|
|
asan_activation.cc\
|
|
asan_debugging.cc\
|
|
asan_fake_stack.cc\
|
|
asan_globals.cc\
|
|
asan_interceptors.cc\
|
|
asan_linux.cc\
|
|
asan_mac.cc\
|
|
asan_malloc_linux.cc\
|
|
asan_malloc_mac.cc\
|
|
asan_malloc_win.cc\
|
|
asan_poisoning.cc\
|
|
asan_posix.cc\
|
|
asan_report.cc\
|
|
asan_rtl.cc\
|
|
asan_stack.cc\
|
|
asan_stats.cc\
|
|
asan_suppressions.cc\
|
|
asan_thread.cc\
|
|
asan_win.cc\
|
|
interception_linux.cc\
|
|
interception_mac.cc\
|
|
interception_win.cc\
|
|
interception_type_test.cc\
|
|
sanitizer_allocator.cc\
|
|
sanitizer_common.cc\
|
|
sanitizer_deadlock_detector1.cc\
|
|
sanitizer_deadlock_detector2.cc\
|
|
sanitizer_flags.cc\
|
|
sanitizer_libc.cc\
|
|
sanitizer_libignore.cc\
|
|
sanitizer_linux.cc\
|
|
sanitizer_mac.cc\
|
|
sanitizer_persistent_allocator.cc\
|
|
sanitizer_platform_limits_linux.cc\
|
|
sanitizer_platform_limits_posix.cc\
|
|
sanitizer_posix.cc\
|
|
sanitizer_printf.cc\
|
|
sanitizer_procmaps_common.cc\
|
|
sanitizer_procmaps_freebsd.cc\
|
|
sanitizer_procmaps_linux.cc\
|
|
sanitizer_procmaps_mac.cc\
|
|
sanitizer_stackdepot.cc\
|
|
sanitizer_stacktrace.cc\
|
|
sanitizer_stacktrace_printer.cc\
|
|
sanitizer_suppressions.cc\
|
|
sanitizer_symbolizer.cc\
|
|
sanitizer_symbolizer_libbacktrace.cc\
|
|
sanitizer_symbolizer_win.cc\
|
|
sanitizer_tls_get_addr.cc\
|
|
sanitizer_thread_registry.cc\
|
|
sanitizer_win.cc\
|
|
sanitizer_common_libcdep.cc\
|
|
sanitizer_coverage_libcdep.cc\
|
|
sanitizer_coverage_mapping_libcdep.cc\
|
|
sanitizer_linux_libcdep.cc\
|
|
sanitizer_posix_libcdep.cc\
|
|
sanitizer_stacktrace_libcdep.cc\
|
|
sanitizer_stoptheworld_linux_libcdep.cc\
|
|
sanitizer_symbolizer_libcdep.cc\
|
|
sanitizer_symbolizer_posix_libcdep.cc\
|
|
sanitizer_unwind_posix_libcdep.cc\
|
|
lsan_common.cc\
|
|
lsan_common_linux.cc
|
|
|
|
.include <bsd.lib.mk>
|