summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-02-17 22:45:18 +0000
committerDevang Patel <dpatel@apple.com>2009-02-17 22:45:18 +0000
commit38ed388fb3b30c30cb46a40704fefb1d2485a45b (patch)
tree37afb0f8db405cc45f771cb25f83cd27a48cc672
parent13319ceffdd99d153e62011c5dda08b95e3279e3 (diff)
downloadllvm-38ed388fb3b30c30cb46a40704fefb1d2485a45b.tar.gz
llvm-38ed388fb3b30c30cb46a40704fefb1d2485a45b.tar.bz2
llvm-38ed388fb3b30c30cb46a40704fefb1d2485a45b.tar.xz
Remove changes that were accidently included in previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64835 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/lto/LTOCodeGenerator.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index b003daf478..e0e1f52b33 100644
--- a/tools/lto/LTOCodeGenerator.cpp
+++ b/tools/lto/LTOCodeGenerator.cpp
@@ -356,10 +356,6 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
// 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 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
// Make sure everything is still good.
passes.add(createVerifierPass());
- setCodeGenDebugOptions("-debug-pass=Structure");
-
FunctionPassManager* codeGenPasses =
new FunctionPassManager(new ExistingModuleProvider(mergedModule));