[PATCH] D56046: Output ELF files after ThinLTO is run.

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 31 22:08:42 PST 2018


void added a comment.

In D56046#1341515 <https://reviews.llvm.org/D56046#1341515>, @MaskRay wrote:

> The filenames of `Task=0` and different. Is this preferable?
>
> `t.o` `t2.o` were compiled with -module-summary
>
> `ld.lld --plugin-opt=obj-path=t3.o -shared t.o t2.o` => creates `t2.o0 t2.o1 t2.o2`
>
> `gold --plugin=~/llvm/Release/lib/LLVMgold.so --plugin-opt=thinlto --plugin-opt=obj-path=t3.o -shared t.o t2.o` => creates `t2.o t2.o1 t2.o2`


I'm not sure it's important, but I modified it to retain the original behavior just in case.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56046/new/

https://reviews.llvm.org/D56046





More information about the llvm-commits mailing list