aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-18 06:00:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-18 06:00:36 +0000
commit47ac7d27c44bd64a7d0fc03d4babc196cf2b8230 (patch)
tree5ea4435becaa49039db7f92a2bd21763e3ba1068 /lib/Driver/Driver.cpp
parent432eeecd1dbca600d969b5f258b9ebd5452f37ac (diff)
Driver: Stub out Tool::ConstructJob.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index b41c2fa96e..a3cd55fe5f 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -706,7 +706,7 @@ void Driver::BuildJobsForAction(Compilation &C,
// 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 @@ void Driver::BuildJobsForAction(Compilation &C,
}
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);
}
}