aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2008-05-30 00:59:13 +0000
committerNick Kledzik <kledzik@apple.com>2008-05-30 00:59:13 +0000
commitbaa154330e93d7139ebac2e4e350d2b7655fc9bc (patch)
treef769dfc375b0b8677a17be7566e848f1186d7e15
parent493e03851d630804830b0439f9a714b08638ab95 (diff)
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
-rw-r--r--tools/lto2/LTOCodeGenerator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/lto2/LTOCodeGenerator.cpp b/tools/lto2/LTOCodeGenerator.cpp
index 13ba0db0f6..f895729657 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());