Reenable running StripSymbols when EH is on.

Dale fixed EH.

llvm-svn: 49192
This commit is contained in:
Devang Patel 2008-04-03 21:30:06 +00:00
parent bf191c76bd
commit 124cce86fc
1 changed files with 1 additions and 5 deletions

View File

@ -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());
}
// Propagate constants at call sites into the functions they call.
passes.add(createIPConstantPropagationPass());