[llvm] r187456 - Make sure that -gsplit-dwarf isn't passed to the linker.

Eric Christopher echristo at gmail.com
Tue Jul 30 15:34:30 PDT 2013


Author: echristo
Date: Tue Jul 30 17:34:30 2013
New Revision: 187456

URL: http://llvm.org/viewvc/llvm-project?rev=187456&view=rev
Log:
Make sure that -gsplit-dwarf isn't passed to the linker.

Modified:
    llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=187456&r1=187455&r2=187456&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Tue Jul 30 17:34:30 2013
@@ -263,7 +263,7 @@ endif()
 
 # Turn on -gsplit-dwarf if requested
 if(LLVM_USE_SPLIT_DWARF)
-  add_flag_if_supported("-gsplit-dwarf")
+  add_llvm_definitions("-gsplit-dwarf")
 endif()
 
 add_llvm_definitions( -D__STDC_CONSTANT_MACROS )





More information about the llvm-commits mailing list