[llvm] r289859 - LibDriver: Allow resource files to be archive members.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 10:57:07 PST 2017


On Thu, Dec 15, 2016 at 11:37 AM, Peter Collingbourne via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: pcc
> Date: Thu Dec 15 13:37:46 2016
> New Revision: 289859
>
> URL: http://llvm.org/viewvc/llvm-project?rev=289859&view=rev
> Log:
> LibDriver: Allow resource files to be archive members.
>
> It seems pointless to add a resource to an archive because it won't have
> any symbols to link against (and link.exe doesn't have an equivalent of
> --whole-archive)


For the record: link.exe grew a /wholearchive flag in VS2015 update 2:
https://msdn.microsoft.com/en-us/library/mt732963.aspx

We might want to add support for this flag to lld because it looks like
asan started using it in r293668.

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/0ba90aa1/attachment.html>


More information about the llvm-commits mailing list