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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 11:13:37 PST 2017


Filed as https://llvm.org/bugs/show_bug.cgi?id=31824.

On Tue, Jan 31, 2017 at 10:57 AM, Peter Collingbourne <peter at pcc.me.uk>
wrote:

> 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/c8aa91a7/attachment.html>


More information about the llvm-commits mailing list