[compiler-rt] r182218 - Avoid rebuilding the RTSanitizerCommon objects when building clang_rt.san.
Richard Smith
richard-llvm at metafoo.co.uk
Sun May 19 12:53:01 PDT 2013
Author: rsmith
Date: Sun May 19 14:53:01 2013
New Revision: 182218
URL: http://llvm.org/viewvc/llvm-project?rev=182218&view=rev
Log:
Avoid rebuilding the RTSanitizerCommon objects when building clang_rt.san.
Modified:
compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt
Modified: compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt?rev=182218&r1=182217&r2=182218&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt Sun May 19 14:53:01 2013
@@ -83,9 +83,9 @@ else()
add_compiler_rt_object_library(RTSanitizerCommonLibc ${arch}
SOURCES ${SANITIZER_LIBCDEP_SOURCES} CFLAGS ${SANITIZER_CFLAGS})
add_compiler_rt_static_runtime(clang_rt.san-${arch} ${arch}
- SOURCES ${SANITIZER_SOURCES}
- $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}> CFLAGS
- ${SANITIZER_CFLAGS})
+ SOURCES $<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
+ $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>
+ CFLAGS ${SANITIZER_CFLAGS})
list(APPEND SANITIZER_RUNTIME_LIBRARIES RTSanitizerCommon.${arch})
endforeach()
endif()
More information about the llvm-commits
mailing list