[llvm-commits] [llvm] r49192 - /llvm/trunk/tools/lto2/LTOCodeGenerator.cpp

Devang Patel dpatel at apple.com
Thu Apr 3 14:30:07 PDT 2008


Author: dpatel
Date: Thu Apr  3 16:30:06 2008
New Revision: 49192

URL: http://llvm.org/viewvc/llvm-project?rev=49192&view=rev
Log:
Reenable running StripSymbols when EH is on.
Dale fixed EH.

Modified:
    llvm/trunk/tools/lto2/LTOCodeGenerator.cpp

Modified: llvm/trunk/tools/lto2/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto2/LTOCodeGenerator.cpp?rev=49192&r1=49191&r2=49192&view=diff

==============================================================================
--- llvm/trunk/tools/lto2/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/tools/lto2/LTOCodeGenerator.cpp Thu Apr  3 16:30:06 2008
@@ -350,11 +350,7 @@
     // 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());





More information about the llvm-commits mailing list