[compiler-rt] r329925 - [scudo] Remove duplicate cmake flags

Kostya Kortchinsky via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 09:41:57 PDT 2018


Author: cryptoad
Date: Thu Apr 12 09:41:57 2018
New Revision: 329925

URL: http://llvm.org/viewvc/llvm-project?rev=329925&view=rev
Log:
[scudo] Remove duplicate cmake flags

Summary:
Now that common options are propagated again for runtimes build with D45507,
the -f{data,function}-sections flags are now duplicates, remove them.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: mgorny, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D45575

Modified:
    compiler-rt/trunk/lib/scudo/CMakeLists.txt

Modified: compiler-rt/trunk/lib/scudo/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/scudo/CMakeLists.txt?rev=329925&r1=329924&r2=329925&view=diff
==============================================================================
--- compiler-rt/trunk/lib/scudo/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/scudo/CMakeLists.txt Thu Apr 12 09:41:57 2018
@@ -4,7 +4,7 @@ include_directories(..)
 
 set(SCUDO_CFLAGS ${SANITIZER_COMMON_CFLAGS})
 # SANITIZER_COMMON_CFLAGS include -fno-builtin, but we actually want builtins!
-list(APPEND SCUDO_CFLAGS -fbuiltin -ffunction-sections -fdata-sections)
+list(APPEND SCUDO_CFLAGS -fbuiltin)
 append_rtti_flag(OFF SCUDO_CFLAGS)
 
 set(SCUDO_DYNAMIC_LIBS ${SANITIZER_COMMON_LINK_LIBS})




More information about the llvm-commits mailing list