[PATCH] D47994: [Darwin] Do not error on '-lto_library' option
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 12:18:40 PDT 2018
smeenai requested changes to this revision.
smeenai added a reviewer: pcc.
smeenai added a subscriber: pcc.
smeenai added a comment.
This revision now requires changes to proceed.
>From what I understand, the way LTO works on LLD COFF and ELF is that the appropriate LLVM libraries are just (statically) linked into LLD itself, so there's no concept of an LTO library. I assume that LTO support in LLD Mach-O will work the same way when it's implemented, so the option should never be needed there either. I think it makes more sense to change the clang driver to not pass the option to LLD, but I'm adding @pcc to confirm that my understanding of LTO is correct.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D47994
More information about the llvm-commits
mailing list