[PATCH] D46598: Add support for LTO plugin option obj-path
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 8 14:04:12 PDT 2018
pcc added inline comments.
================
Comment at: lld/ELF/LTO.cpp:283
+ if (Config->LTOObjPath.empty())
saveBuffer(Buff[0], Config->OutputFile + ".lto.o");
+ else
----------------
I wouldn't save the buffer at all if `obj-path` is not passed.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D46598
More information about the llvm-commits
mailing list