diff options
Diffstat (limited to 'lld/ELF/LTO.cpp')
-rw-r--r-- | lld/ELF/LTO.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/LTO.cpp b/lld/ELF/LTO.cpp index 69d0895a2de..f819a04bbe1 100644 --- a/lld/ELF/LTO.cpp +++ b/lld/ELF/LTO.cpp @@ -137,8 +137,7 @@ std::vector<InputFile *> BitcodeCompiler::compile() { else saveBuffer(Buff[I], Config->OutputFile + Twine(I) + ".lto.o"); } - InputFile *Obj = - createObjectFile(Alloc, MemoryBufferRef(Buff[I], "lto.tmp")); + InputFile *Obj = createObjectFile(MemoryBufferRef(Buff[I], "lto.tmp")); Ret.push_back(Obj); } return Ret; |