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 | 124cce86fce6ccb14836a088a2e55364deb7e1b5 (patch) | |
| tree | 8e67bb4d7246ca4958929dd8fb32ec911af3b949 /llvm/tools | |
| parent | bf191c76bd055073a0bd6fa08757c9ada0341219 (diff) | |
| download | bcm5719-llvm-124cce86fce6ccb14836a088a2e55364deb7e1b5.tar.gz bcm5719-llvm-124cce86fce6ccb14836a088a2e55364deb7e1b5.zip | |
Reenable running StripSymbols when EH is on.
Dale fixed EH.
llvm-svn: 49192
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/lto2/LTOCodeGenerator.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/tools/lto2/LTOCodeGenerator.cpp b/llvm/tools/lto2/LTOCodeGenerator.cpp index 429d6c4f59d..4c5850acb4f 100644 --- a/llvm/tools/lto2/LTOCodeGenerator.cpp +++ b/llvm/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()); |

