Driver: Stub out Tool::ConstructJob.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67169 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index b41c2fa..a3cd55f 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -706,7 +706,7 @@
// Only use pipes when there is exactly one input.
bool TryToUsePipeInput = Inputs->size() == 1 && T.acceptsPipedInput();
- llvm::SmallVector<InputInfo, 4> InputInfos;
+ InputInfoList InputInfos;
for (ActionList::const_iterator it = Inputs->begin(), ie = Inputs->end();
it != ie; ++it) {
InputInfo II;
@@ -768,7 +768,8 @@
}
llvm::errs() << "], output: " << Result.getAsString() << "\n";
} else {
- assert(0 && "FIXME: Make the job.");
+ const ArgList &TCArgs = C.getArgsForToolChain(TC);
+ T.ConstructJob(C, *JA, Result, InputInfos, TCArgs, LinkingOutput);
}
}