diff options
author | Devang Patel <dpatel@apple.com> | 2006-09-07 20:20:56 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2006-09-07 20:20:56 +0000 |
commit | bdaf3dc8c33161babe436a19ee35748871657573 (patch) | |
tree | b758e3c8d5c008c06ae0488dcd2226843fcad95e /tools/lto | |
parent | ec3bc3941390b16969b1e9469a0f446bbee45dfb (diff) | |
download | external_llvm-bdaf3dc8c33161babe436a19ee35748871657573.zip external_llvm-bdaf3dc8c33161babe436a19ee35748871657573.tar.gz external_llvm-bdaf3dc8c33161babe436a19ee35748871657573.tar.bz2 |
Use addPassesToEmitWholeFile() instead of addPassesToEmitFile()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/lto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 14cfc8e..fedd4ae 100644 --- 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.addPassesToEmitWholeFile(Passes, Out, TargetMachine::AssemblyFile, true); // Run our queue of passes all at once now, efficiently. Passes.run(*M); |