Add a 'swifti' symlink to stage in the upcoming driver changes

For now, keep 'swift' the same and put all the interactive driver
changes under 'swifti'. When these are in good shape, I will remove
swifti and make 'swift' the interactive driver as discussed.

Swift SVN r20359
This commit is contained in:
Ben Langmuir
2014-07-23 02:30:39 +00:00
parent b5d5cf0c8d
commit a96009c52f
8 changed files with 132 additions and 14 deletions

View File

@@ -401,8 +401,8 @@ Job *Swift::constructJob(const JobAction &JA, std::unique_ptr<JobList> Inputs,
// In immediate mode, pass through any arguments following -i INPUT after --.
if (OI.CompilerMode == OutputInfo::Mode::Immediate) {
Arg *A = Args.getLastArg(options::OPT_i);
assert(A && "expected -i option in immediate mode");
if (A->getNumValues() > 1) {
// FIXME: pass through arguments with swifti
if (A && A->getNumValues() > 1) {
Arguments.push_back("--");
Arguments.append(A->getValues().begin() + 1, A->getValues().end());
}