projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec3bc39
)
Use addPassesToEmitWholeFile() instead of addPassesToEmitFile()
author
Devang Patel
<dpatel@apple.com>
Thu, 7 Sep 2006 20:20:56 +0000
(20:20 +0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 7 Sep 2006 20:20:56 +0000
(20:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30153
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/lto/lto.cpp
patch
|
blob
|
history
diff --git
a/tools/lto/lto.cpp
b/tools/lto/lto.cpp
index 14cfc8efafa3dffe752acc88c9904f0f0e93fd17..fedd4aef712d29816fe8c91ca7a2c589732859fe 100644
(file)
--- a/
tools/lto/lto.cpp
+++ b/
tools/lto/lto.cpp
@@
-282,7
+282,7
@@
static enum LTOStatus lto_optimize(Module *M, std::ostream &Out,
// Make sure everything is still good.
Passes.add(createVerifierPass());
- Target.addPassesToEmitFile(Passes, Out, TargetMachine::AssemblyFile, true);
+ Target.addPassesToEmit
Whole
File(Passes, Out, TargetMachine::AssemblyFile, true);
// Run our queue of passes all at once now, efficiently.
Passes.run(*M);