diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-20 00:52:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-20 00:52:38 +0000 |
commit | ff7488dc9a766f94daf54d81b03ab9160d0bfd88 (patch) | |
tree | ca306100a077f7dd0fe8b44d73bdf645ebfb150a /lib/Driver/Tools.h | |
parent | c53b60adefc7fc31cd2dcec2810d1b4525945900 (diff) |
Driver: Add darwin::Lipo tool.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r-- | lib/Driver/Tools.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index a87a7baec5..40aa2084da 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -110,6 +110,24 @@ namespace gcc { }; } // end namespace gcc +namespace darwin { + class VISIBILITY_HIDDEN Lipo : public Tool { + public: + Lipo(const ToolChain &TC) : Tool("gcc::Link", TC) {} + + virtual bool acceptsPipedInput() const { return false; } + virtual bool canPipeOutput() const { return false; } + virtual bool hasIntegratedCPP() const { return false; } + + virtual void ConstructJob(Compilation &C, const JobAction &JA, + Job &Dest, + const InputInfo &Output, + const InputInfoList &Inputs, + const ArgList &TCArgs, + const char *LinkingOutput) const; + }; +} + } // end namespace toolchains } // end namespace driver } // end namespace clang |