diff options
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 |