[llvm-commits] [llvm] r64840 - /llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp
Bill Wendling
isanbard at gmail.com
Tue Feb 17 14:57:43 PST 2009
Author: void
Date: Tue Feb 17 16:57:43 2009
New Revision: 64840
URL: http://llvm.org/viewvc/llvm-project?rev=64840&view=rev
Log:
--- Merging (from foreign repository) r64835 into '.':
U tools/lto/LTOCodeGenerator.cpp
Remove changes that were accidently included in previous commit.
Modified:
llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp
Modified: llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp?rev=64840&r1=64839&r2=64840&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp (original)
+++ llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp Tue Feb 17 16:57:43 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