aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-02 02:38:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-02 02:38:28 +0000
commit2fe238ed293bd4bc27af9beb9fa151fad2146fa8 (patch)
treec53f910bbaa2458f784024dbaabd4dcf57084017 /lib/Driver/Driver.cpp
parentd0b77e1a47580dd9fd621433e9ac41258837a17a (diff)
Driver: Add Compilation::addCommand and switch tools to using it, now that we
don't have to deal with nested jobs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 0fd22feb59..98ac6ccec5 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -1102,7 +1102,7 @@ void Driver::BuildJobsForAction(Compilation &C,
}
llvm::errs() << "], output: " << Result.getAsString() << "\n";
} else {
- T.ConstructJob(C, *JA, C.getJobs(), Result, InputInfos,
+ T.ConstructJob(C, *JA, Result, InputInfos,
C.getArgsForToolChain(TC, BoundArch), LinkingOutput);
}
}