diff options
author | Nick Kledzik <kledzik@apple.com> | 2008-05-30 00:59:13 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2008-05-30 00:59:13 +0000 |
commit | baa154330e93d7139ebac2e4e350d2b7655fc9bc (patch) | |
tree | f769dfc375b0b8677a17be7566e848f1186d7e15 /tools | |
parent | 493e03851d630804830b0439f9a714b08638ab95 (diff) | |
download | llvm-baa154330e93d7139ebac2e4e350d2b7655fc9bc.tar.gz llvm-baa154330e93d7139ebac2e4e350d2b7655fc9bc.tar.bz2 llvm-baa154330e93d7139ebac2e4e350d2b7655fc9bc.tar.xz |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lto2/LTOCodeGenerator.cpp | 5 |
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()); |