[compiler-rt] r226435 - [dfsan] Use append_no_rtti_flag instead of manually specifying -fno-rtti.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Mon Jan 19 00:26:39 PST 2015
Author: eugenis
Date: Mon Jan 19 02:26:38 2015
New Revision: 226435
URL: http://llvm.org/viewvc/llvm-project?rev=226435&view=rev
Log:
[dfsan] Use append_no_rtti_flag instead of manually specifying -fno-rtti.
Modified:
compiler-rt/trunk/lib/dfsan/CMakeLists.txt
Modified: compiler-rt/trunk/lib/dfsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/dfsan/CMakeLists.txt?rev=226435&r1=226434&r2=226435&view=diff
==============================================================================
--- compiler-rt/trunk/lib/dfsan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/dfsan/CMakeLists.txt Mon Jan 19 02:26:38 2015
@@ -5,7 +5,8 @@ set(DFSAN_RTL_SOURCES
dfsan.cc
dfsan_custom.cc
dfsan_interceptors.cc)
-set(DFSAN_COMMON_CFLAGS ${SANITIZER_COMMON_CFLAGS} -fno-rtti)
+set(DFSAN_COMMON_CFLAGS ${SANITIZER_COMMON_CFLAGS})
+append_no_rtti_flag(DFSAN_COMMON_CFLAGS)
# Prevent clang from generating libc calls.
append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding DFSAN_COMMON_CFLAGS)
More information about the llvm-commits
mailing list