fix passing long argument lists to the linker, PR 15171, take 2

Nathan Froyd nfroyd at mozilla.com
Mon Apr 15 11:10:52 PDT 2013


Hi!

This patch addresses PR 15171 by checking if we're constructing a
too-long argument list for the linker and writing it to a response file
if the linker supports it.  A test case is included that should test the
newly-added behavior on at least some Windows checkouts (depending on
where the checkout lives on disk).  It doesn't appear that there's any
tests that clang parses a response file, so this test takes care of that
too.

Tested on linux x86-64.

-Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-linker-patch.diff
Type: text/x-diff
Size: 23609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130415/7cfa5b65/attachment.diff>


More information about the cfe-commits mailing list