diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-18 07:06:02 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-18 07:06:02 +0000 |
commit | 04c4c2c3db48fbc43542c5609f27f163ae798469 (patch) | |
tree | c1eaca22ae96ec661b538a06d61438cd33a9a9fb /clang/lib/Driver/Tools.cpp | |
parent | 3beceaf7f134875d3cd8357fec4314ea32987193 (diff) | |
download | bcm5719-llvm-04c4c2c3db48fbc43542c5609f27f163ae798469.tar.gz bcm5719-llvm-04c4c2c3db48fbc43542c5609f27f163ae798469.zip |
Driver: ConstructJob also needs to know the destination (where to put
its commands).
llvm-svn: 67179
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 25023c16eff..20c307417c2 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -9,18 +9,29 @@ #include "Tools.h" +#include "clang/Driver/Arg.h" +#include "clang/Driver/Compilation.h" +#include "clang/Driver/Job.h" +#include "clang/Driver/Util.h" + +#include "llvm/ADT/SmallVector.h" + +#include "InputInfo.h" + using namespace clang::driver; using namespace clang::driver::tools; void Clang::ConstructJob(Compilation &C, const JobAction &JA, - const InputInfo &Output, + Job &Dest, + const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const { } void gcc::Preprocess::ConstructJob(Compilation &C, const JobAction &JA, - const InputInfo &Output, + Job &Dest, + const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const { @@ -28,7 +39,8 @@ void gcc::Preprocess::ConstructJob(Compilation &C, const JobAction &JA, } void gcc::Precompile::ConstructJob(Compilation &C, const JobAction &JA, - const InputInfo &Output, + Job &Dest, + const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const { @@ -36,7 +48,8 @@ void gcc::Precompile::ConstructJob(Compilation &C, const JobAction &JA, } void gcc::Compile::ConstructJob(Compilation &C, const JobAction &JA, - const InputInfo &Output, + Job &Dest, + const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const { @@ -44,7 +57,8 @@ void gcc::Compile::ConstructJob(Compilation &C, const JobAction &JA, } void gcc::Assemble::ConstructJob(Compilation &C, const JobAction &JA, - const InputInfo &Output, + Job &Dest, + const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const { @@ -52,7 +66,8 @@ void gcc::Assemble::ConstructJob(Compilation &C, const JobAction &JA, } void gcc::Link::ConstructJob(Compilation &C, const JobAction &JA, - const InputInfo &Output, + Job &Dest, + const InputInfo &Output, const InputInfoList &Inputs, const ArgList &TCArgs, const char *LinkingOutput) const { |