diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-05-17 16:17:19 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-05-17 16:17:19 +0000 |
commit | 6d4a7d372388a5aff1ac3a9f6cec8484628b6c7d (patch) | |
tree | be51e6e9b10ee394e1f03e6834bcab7c27e67776 /compiler-rt/lib/tsan | |
parent | 716d924e4c611a924391dd5089f7d13720ba5b8e (diff) | |
download | bcm5719-llvm-6d4a7d372388a5aff1ac3a9f6cec8484628b6c7d.tar.gz bcm5719-llvm-6d4a7d372388a5aff1ac3a9f6cec8484628b6c7d.zip |
[nolibc] Begin moving sanitizer_common's libc-dependent code to a separate library
Introduce a new object library, RTSanitizerCommonLibc, which will contain
the subset of sanitizer_common with libc dependencies. RTSanitizerCommon
contains the remainder of sanitizer_common, and is intended to have no
libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting
with sanitizer_common.cc, whose libc-dependent portion is moved to
sanitizer_common_libcdep.cc, the first member of the new library.
This split affects the CMake build only. The makefile build continues
to produce the full sanitizer_common library.
llvm-svn: 182118
Diffstat (limited to 'compiler-rt/lib/tsan')
-rw-r--r-- | compiler-rt/lib/tsan/rtl/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/CMakeLists.txt b/compiler-rt/lib/tsan/rtl/CMakeLists.txt index 8d89e6e7ba3..f1a8ff4d655 100644 --- a/compiler-rt/lib/tsan/rtl/CMakeLists.txt +++ b/compiler-rt/lib/tsan/rtl/CMakeLists.txt @@ -43,6 +43,7 @@ if(CAN_TARGET_x86_64 AND UNIX AND NOT APPLE) SOURCES ${TSAN_SOURCES} ${TSAN_ASM_SOURCES} $<TARGET_OBJECTS:RTInterception.${arch}> $<TARGET_OBJECTS:RTSanitizerCommon.${arch}> + $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}> CFLAGS ${TSAN_CFLAGS} DEFS ${TSAN_COMMON_DEFINITIONS} SYMS tsan.syms) |