aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-20 00:52:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-20 00:52:38 +0000
commitff7488dc9a766f94daf54d81b03ab9160d0bfd88 (patch)
treeca306100a077f7dd0fe8b44d73bdf645ebfb150a /lib/Driver/Tools.h
parentc53b60adefc7fc31cd2dcec2810d1b4525945900 (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.h18
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