[llvm-commits] [llvm] r51722 - /llvm/trunk/tools/lto2/LTOCodeGenerator.cpp

Nick Kledzik kledzik at apple.com
Thu May 29 17:59:13 PDT 2008


Author: kledzik
Date: Thu May 29 19:59:13 2008
New Revision: 51722

URL: http://llvm.org/viewvc/llvm-project?rev=51722&view=rev
Log:
remove the StripSymbolsPass.  This should not be done by default in libLTO.dylib.  The linker will remove the symbol names if needed after LTO is done

Modified:
    llvm/trunk/tools/lto2/LTOCodeGenerator.cpp

Modified: llvm/trunk/tools/lto2/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto2/LTOCodeGenerator.cpp?rev=51722&r1=51721&r2=51722&view=diff

==============================================================================
--- llvm/trunk/tools/lto2/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/tools/lto2/LTOCodeGenerator.cpp Thu May 29 19:59:13 2008
@@ -352,11 +352,6 @@
     // keep one copy of each constant...
     passes.add(createConstantMergePass());
 
-    // If the -s command line option was specified, strip the symbols out of the
-    // resulting program to make it smaller.  -s is a GLD option that we are
-    // supporting.
-    passes.add(createStripSymbolsPass());
-    
     // Remove unused arguments from functions...
     passes.add(createDeadArgEliminationPass());
 





More information about the llvm-commits mailing list