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

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


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

Tested on linux x86-64.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-linker-patch.diff
Type: text/x-diff
Size: 23609 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list