[compiler-rt] r226177 - [sanitizer] Restore -fno-lto accidentally removed in r226169.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Jan 15 08:31:22 PST 2015


Author: eugenis
Date: Thu Jan 15 10:31:22 2015
New Revision: 226177

URL: http://llvm.org/viewvc/llvm-project?rev=226177&view=rev
Log:
[sanitizer] Restore -fno-lto accidentally removed in r226169.

Modified:
    compiler-rt/trunk/CMakeLists.txt

Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=226177&r1=226176&r2=226177&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Thu Jan 15 10:31:22 2015
@@ -234,7 +234,7 @@ append_list_if(COMPILER_RT_HAS_FUNWIND_T
 append_list_if(COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -fno-stack-protector SANITIZER_COMMON_CFLAGS)
 append_list_if(COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -fvisibility=hidden SANITIZER_COMMON_CFLAGS)
 append_list_if(COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -fno-function-sections SANITIZER_COMMON_CFLAGS)
-# append_list_if(COMPILER_RT_HAS_FNO_LTO_FLAG -fno-lto SANITIZER_COMMON_CFLAGS)
+append_list_if(COMPILER_RT_HAS_FNO_LTO_FLAG -fno-lto SANITIZER_COMMON_CFLAGS)
 
 if(MSVC)
   # Replace the /MD[d] flags with /MT.





More information about the llvm-commits mailing list