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 | 871adcf4e41285e3f4c3b62eaa1b2e05b60b92da (patch) | |
| tree | 779a51cca6bd05510c46bdaeb56219ac2725ad16 /lib/Driver/Tools.cpp | |
| parent | aa469f62f2b3ba6f560ccadfc379f8f4c45e3d51 (diff) | |
| download | clang-871adcf4e41285e3f4c3b62eaa1b2e05b60b92da.tar.gz clang-871adcf4e41285e3f4c3b62eaa1b2e05b60b92da.tar.bz2 clang-871adcf4e41285e3f4c3b62eaa1b2e05b60b92da.tar.xz | |
Driver: ConstructJob also needs to know the destination (where to put
its commands).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
| -rw-r--r-- | lib/Driver/Tools.cpp | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 25023c16ef..20c307417c 100644 --- a/lib/Driver/Tools.cpp +++ b/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 { |
