diff options
| author | Devang Patel <dpatel@apple.com> | 2009-02-17 22:45:18 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-02-17 22:45:18 +0000 |
| commit | d57a720d575c44a7993c882fc446271995d7a323 (patch) | |
| tree | 5dd28cee91193f2d84c2aed79c5ce431deec9433 | |
| parent | 4d20395a5f00f05519caf4b0308a1925fe27ebf0 (diff) | |
| download | bcm5719-llvm-d57a720d575c44a7993c882fc446271995d7a323.tar.gz bcm5719-llvm-d57a720d575c44a7993c882fc446271995d7a323.zip | |
Remove changes that were accidently included in previous commit.
llvm-svn: 64835
| -rw-r--r-- | llvm/tools/lto/LTOCodeGenerator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/tools/lto/LTOCodeGenerator.cpp b/llvm/tools/lto/LTOCodeGenerator.cpp index b003daf478f..e0e1f52b330 100644 --- a/llvm/tools/lto/LTOCodeGenerator.cpp +++ b/llvm/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)); |

