Commit Graph

5 Commits

Author SHA1 Message Date
Jordan Rose
ff373e901f [test] Fix validation-test/Driver/many-inputs.swift differently.
It turns out the problem was with the full length of the argument list
in characters (bytes), not just the /number/ of arguments. Defeat this
by using paths relative to the temporary directory we're using.

rdar://problem/25617239, hopefully for the last time.
2016-04-11 10:08:43 -07:00
Jordan Rose
76ab68bdeb [test] Remove testing code. 2016-04-08 17:06:01 -07:00
Jordan Rose
3a47e7cfec [test] Fix validation-test/Driver/many-inputs.swift harder.
We still need a valid SDK because we're making sure linking works too.

rdar://problem/25617239
2016-04-08 16:56:21 -07:00
Jordan Rose
f39273b2fd [test] Avoid use of 'xcrun' in validation-test/Driver/many-inputs.swift.
'xcrun' can also have problems with large numbers of parameters, and it's not
what we're testing here.

rdar://problem/25617239
2016-04-08 10:43:34 -07:00
Jordan Rose
ad945426a0 Teach the frontend about -filelist for input files.
With this, we're out of the business of passing large numbers of input
files on the command line to the frontend, which means we no longer
overflow argv with a mere 1100 input files under whole-module optimization.

In order to make sure this doesn't happen again, I'd like to also get
this working for
- swiftmodule inputs to the merge-module build phase
- /output/ files for multithreading single-frontend builds (WMO)
- object file inputs to the linker on OS X (response files for binutils
  ld have different quoting rules)

Part 3 of https://bugs.swift.org/browse/SR-280.
2016-01-12 19:20:50 -08:00