[PATCH] D81109: llvm-link: Add support for archive files as inputs.

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 08:03:46 PDT 2020


jdoerfert added a comment.

In D81109#2097795 <https://reviews.llvm.org/D81109#2097795>, @JonChesterfield wrote:

> Where's the right place to document this new feature?
>
> It's occurred to me that people may want to use llvm-link as a drop in replacement for a partial link, and this patch implements the equivalent to --whole-archive. That is, we extract all the objects, not only the ones that match an unresolved symbol earlier in the link order.


That is how llvm-link always worked, I mean the "whole-archive" way, isn't it?

> That'll surprise some users so I think we should write down that this is the behaviour they'll get, and I'm not sure where.

LLVM-link documentation + Change Logs
@jsjodin ^


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

https://reviews.llvm.org/D81109





More information about the llvm-commits mailing list