Add a FIXME.
authorNico Weber <nicolasweber@gmx.de>
Sun, 5 Jan 2014 00:37:45 +0000 (00:37 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 5 Jan 2014 00:37:45 +0000 (00:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198528 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index da4873b1fee372ebf5d7c26202e300eb25757770..cf1986a81b1c6b6dafcc138ea12c9ec2217bdfe5 100644 (file)
@@ -77,6 +77,9 @@ function(add_llvm_symbol_exports target_name export_file)
 endfunction(add_llvm_symbol_exports)
 
 function(add_dead_strip target_name)
+  # FIXME: With MSVS, consider compiling with /Gy and linking with /OPT:REF?
+  # But MinSizeRel seems to add that automatically, so maybe disable these
+  # flags instead if LLVM_NO_DEAD_STRIP is set.
   if(NOT CYGWIN AND NOT MINGW AND NOT MSVC)
     if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
        SET(CMAKE_CXX_FLAGS