[PATCH] D64461: [lld-link] implement -thinlto-index-only

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 00:44:21 PDT 2019


On Tue, Jul 16, 2019 at 7:27 AM Reid Kleckner via Phabricator <
reviews at reviews.llvm.org> wrote:

> rnk added a comment.
>
> In D64461#1586526 <https://reviews.llvm.org/D64461#1586526>, @smeenai
> wrote:
>
> > Distributed ThinLTO doesn't support archives:
> http://lists.llvm.org/pipermail/llvm-dev/2019-June/133145.html.
> @tejohnson suggested `-start-lib -end-lib` as a workaround, but that's not
> a thing for COFF. Do you have plans for archive support, or is that not
> something you need to deal with for your use cases?
>
>
> Personally I believe we should prioritize fixing that. It's trivial to fix
> for thin archives, since those are practically equivalent to the command
> line object groups.
>

FWIW, supporting --start-lib/--end-lib in lld/COFF makes sense to me, as
overall these options in lld/ELF is actually sometimes useful, and with
these options you might be able to speed up a build by not creating archive
files at all.


> Repository:
>   rL LLVM
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D64461/new/
>
> https://reviews.llvm.org/D64461
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/ce36569c/attachment.html>


More information about the llvm-commits mailing list