Author: dpatel Date: Fri Feb 1 19:32:38 2008 New Revision: 46657 URL: http://llvm.org/viewvc/llvm-project?rev=46657&view=rev Log: Do not strip symbols when EH is ON.
Modified: llvm/trunk/tools/lto/lto.cpp Modified: llvm/trunk/tools/lto/lto.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/lto.cpp?rev=46657&r1=46656&r2=46657&view=diff ============================================================================== --- llvm/trunk/tools/lto/lto.cpp (original) +++ llvm/trunk/tools/lto/lto.cpp Fri Feb 1 19:32:38 2008 @@ -292,7 +292,10 @@ // 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()); + if(!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()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits