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

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 04:17:00 PDT 2020


JonChesterfield added a comment.

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'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.


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

https://reviews.llvm.org/D81109





More information about the llvm-commits mailing list