aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-20 16:06:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-20 16:06:39 +0000
commit8cac5f7e1ce63dd77ee0fb4ef68f9fa804f41ea6 (patch)
treeaf126a142d8171119413b3be1c4826dd8ea9ac42 /lib/Driver/Tools.h
parentca45cffe5e17f5c2cd2f4d9f631924c704f0f184 (diff)
Driver: Add and use darwin::Assemble tool.
- Based on patch from Pieter de Bie; thanks! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r--lib/Driver/Tools.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h
index 40aa2084da..672096e391 100644
--- a/lib/Driver/Tools.h
+++ b/lib/Driver/Tools.h
@@ -111,9 +111,25 @@ namespace gcc {
} // end namespace gcc
namespace darwin {
+ class VISIBILITY_HIDDEN Assemble : public Tool {
+ public:
+ Assemble(const ToolChain &TC) : Tool("darwin::Assemble", TC) {}
+
+ virtual bool acceptsPipedInput() const { return true; }
+ 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;
+ };
+
class VISIBILITY_HIDDEN Lipo : public Tool {
public:
- Lipo(const ToolChain &TC) : Tool("gcc::Link", TC) {}
+ Lipo(const ToolChain &TC) : Tool("darwin::Lipo", TC) {}
virtual bool acceptsPipedInput() const { return false; }
virtual bool canPipeOutput() const { return false; }