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.
18 lines
212 B
Makefile
18 lines
212 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
LIB= clang_rt.ubsan-${CRTARCH}
|
|
|
|
.PATH: ${CRTSRC}/lib/ubsan
|
|
|
|
SRCS= ubsan_diag.cc\
|
|
ubsan_init.cc\
|
|
ubsan_flags.cc\
|
|
ubsan_handlers.cc\
|
|
ubsan_value.cc
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|