Index: compiler-rt/trunk/lib/ubsan/CMakeLists.txt =================================================================== --- compiler-rt/trunk/lib/ubsan/CMakeLists.txt +++ compiler-rt/trunk/lib/ubsan/CMakeLists.txt @@ -164,6 +164,7 @@ OBJECT_LIBS RTSanitizerCommon RTSanitizerCommonLibc RTUbsan + RTUbsan_cxx RTUbsan_standalone RTInterception CFLAGS ${UBSAN_CFLAGS} @@ -171,18 +172,6 @@ LINK_LIBS ${UBSAN_DYNAMIC_LIBS} PARENT_TARGET ubsan) - add_compiler_rt_runtime(clang_rt.ubsan_standalone_cxx - SHARED - ARCHS ${UBSAN_SUPPORTED_ARCH} - OBJECT_LIBS RTSanitizerCommon - RTSanitizerCommonLibc - RTUbsan - RTUbsan_cxx - CFLAGS ${UBSAN_CXXFLAGS} - LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS} - LINK_LIBS ${UBSAN_DYNAMIC_LIBS} - PARENT_TARGET ubsan) - set(ARCHS_FOR_SYMBOLS ${UBSAN_SUPPORTED_ARCH}) list(REMOVE_ITEM ARCHS_FOR_SYMBOLS i386) add_sanitizer_rt_symbols(clang_rt.ubsan_standalone