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 | e27847056d5b0e4e539938aca993d4b62c3c7fe5 (patch) | |
tree | ba84a89325c26c870db20bddeb320c7831b47a68 | |
parent | b589d9f42dca541c80fa3a7e8e821f1ab630df01 (diff) |
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
-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 429d6c4f59..4c5850acb4 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()); |