remove the StripSymbolsPass. This should not be done by default in libLTO.dylib...
authorNick Kledzik <kledzik@apple.com>
Fri, 30 May 2008 00:59:13 +0000 (00:59 +0000)
committerNick Kledzik <kledzik@apple.com>
Fri, 30 May 2008 00:59:13 +0000 (00:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51722 91177308-0d34-0410-b5e6-96231b3b80d8

tools/lto2/LTOCodeGenerator.cpp

index 13ba0db0f6da2a0f2f6417a522efb3d69abc97dd..f8957296577b0771937ed0c2d770d99d8e7918cf 100644 (file)
@@ -352,11 +352,6 @@ bool LTOCodeGenerator::generateAssemblyCode(std::ostream& out, std::string& errM
     // 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());