diff options
author | Devang Patel <dpatel@apple.com> | 2008-04-03 21:30:06 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-04-03 21:30:06 +0000 |
commit | 7a39e234699ae96cc8262fac5de191d414ea2bf0 (patch) | |
tree | ba84a89325c26c870db20bddeb320c7831b47a68 /tools | |
parent | 29b9f2f74dfe410043b4fb613b3efcf5cbf5b0d9 (diff) | |
download | external_llvm-7a39e234699ae96cc8262fac5de191d414ea2bf0.zip external_llvm-7a39e234699ae96cc8262fac5de191d414ea2bf0.tar.gz external_llvm-7a39e234699ae96cc8262fac5de191d414ea2bf0.tar.bz2 |
Reenable running StripSymbols when EH is on.
Dale fixed EH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lto2/LTOCodeGenerator.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/lto2/LTOCodeGenerator.cpp b/tools/lto2/LTOCodeGenerator.cpp index 429d6c4..4c5850a 100644 --- a/tools/lto2/LTOCodeGenerator.cpp +++ b/tools/lto2/LTOCodeGenerator.cpp @@ -350,11 +350,7 @@ bool LTOCodeGenerator::generateAssemblyCode(std::ostream& out, std::string& errM // 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. - if( !llvm::ExceptionHandling ) { - // FIXME : This causes multiple nameless _.eh symbols on - // darwin when EH is ON. - passes.add(createStripSymbolsPass()); - } + passes.add(createStripSymbolsPass()); // Propagate constants at call sites into the functions they call. passes.add(createIPConstantPropagationPass()); |