diff options
author | dim <dim@FreeBSD.org> | 2015-02-22 22:31:36 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-02-22 22:31:36 +0000 |
commit | 64036a7c35233ad0f5289d81af95a2b7023eee7e (patch) | |
tree | c80ef9cb2d1e54757027bc3e1b32b98c01ad850c /lib/libclang_rt | |
parent | 62a5f71b46f317b1666b2f5240bdb30f0c2a2b98 (diff) | |
parent | 5c652b16dfa55fef6d0953359e6e8f6933ee3a0f (diff) | |
download | FreeBSD-src-64036a7c35233ad0f5289d81af95a2b7023eee7e.zip FreeBSD-src-64036a7c35233ad0f5289d81af95a2b7023eee7e.tar.gz |
Update compiler-rt to trunk r228651. This enables using Address
Sanitizer and Undefined Behavior Sanitizer with clang 3.6.0.
Diffstat (limited to 'lib/libclang_rt')
-rw-r--r-- | lib/libclang_rt/Makefile.inc | 1 | ||||
-rw-r--r-- | lib/libclang_rt/asan/Makefile | 4 | ||||
-rw-r--r-- | lib/libclang_rt/san/Makefile | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index a577e2d..be0122e 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -23,3 +23,4 @@ CFLAGS+=-funwind-tables CFLAGS+=-fvisibility-inlines-hidden CFLAGS+=-fvisibility=hidden CFLAGS+=-I${CRTSRC}/lib +CXXFLAGS+=-std=c++11 diff --git a/lib/libclang_rt/asan/Makefile b/lib/libclang_rt/asan/Makefile index 9d9622c..e751970 100644 --- a/lib/libclang_rt/asan/Makefile +++ b/lib/libclang_rt/asan/Makefile @@ -10,10 +10,11 @@ LIB= clang_rt.asan-${CRTARCH} ${CRTSRC}/lib/lsan SRCS= asan_preinit.cc\ - asan_allocator2.cc\ + asan_allocator.cc\ asan_activation.cc\ asan_debugging.cc\ asan_fake_stack.cc\ + asan_flags.cc\ asan_globals.cc\ asan_interceptors.cc\ asan_linux.cc\ @@ -39,6 +40,7 @@ SRCS= asan_preinit.cc\ sanitizer_deadlock_detector1.cc\ sanitizer_deadlock_detector2.cc\ sanitizer_flags.cc\ + sanitizer_flag_parser.cc\ sanitizer_libc.cc\ sanitizer_libignore.cc\ sanitizer_linux.cc\ diff --git a/lib/libclang_rt/san/Makefile b/lib/libclang_rt/san/Makefile index 9926252..da8fe13 100644 --- a/lib/libclang_rt/san/Makefile +++ b/lib/libclang_rt/san/Makefile @@ -11,6 +11,7 @@ SRCS= sanitizer_allocator.cc\ sanitizer_deadlock_detector1.cc\ sanitizer_deadlock_detector2.cc\ sanitizer_flags.cc\ + sanitizer_flag_parser.cc\ sanitizer_libc.cc\ sanitizer_libignore.cc\ sanitizer_linux.cc\ |