[llvm-commits] [llvm] r64835 - /llvm/trunk/tools/lto/LTOCodeGenerator.cpp
Devang Patel
dpatel at apple.com
Tue Feb 17 14:45:18 PST 2009
Author: dpatel
Date: Tue Feb 17 16:45:18 2009
New Revision: 64835
URL: http://llvm.org/viewvc/llvm-project?rev=64835&view=rev
Log:
Remove changes that were accidently included in previous commit.
Modified:
llvm/trunk/tools/lto/LTOCodeGenerator.cpp
Modified: llvm/trunk/tools/lto/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.cpp?rev=64835&r1=64834&r2=64835&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/tools/lto/LTOCodeGenerator.cpp Tue Feb 17 16:45:18 2009
@@ -356,10 +356,6 @@
// Add an appropriate TargetData instance for this module...
passes.add(new TargetData(*_target->getTargetData()));
- std::string targetTriple = _linker.getModule()->getTargetTriple();
-// if ( targetTriple.find("darwin") != targetTriple.size() )
- passes.add(createStripSymbolsPass(true /* strip debug info only */));
-
// Propagate constants at call sites into the functions they call. This
// opens opportunities for globalopt (and inlining) by substituting function
// pointers passed as arguments to direct uses of functions.
@@ -416,8 +412,6 @@
// Make sure everything is still good.
passes.add(createVerifierPass());
- setCodeGenDebugOptions("-debug-pass=Structure");
-
FunctionPassManager* codeGenPasses =
new FunctionPassManager(new ExistingModuleProvider(mergedModule));
More information about the llvm-commits
mailing list