From: Nick Kledzik Date: Fri, 30 May 2008 00:59:13 +0000 (+0000) Subject: remove the StripSymbolsPass. This should not be done by default in libLTO.dylib... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=baa154330e93d7139ebac2e4e350d2b7655fc9bc;p=oota-llvm.git 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51722 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/lto2/LTOCodeGenerator.cpp b/tools/lto2/LTOCodeGenerator.cpp index 13ba0db0f6d..f8957296577 100644 --- a/tools/lto2/LTOCodeGenerator.cpp +++ b/tools/lto2/LTOCodeGenerator.cpp @@ -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());