diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-10 00:25:48 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-10 00:25:48 +0000 |
commit | ba30bbe4e36a30a274da809a11a42f9cdc168e92 (patch) | |
tree | 4335a2e94f37f168a446c7dc03439d3758838847 /lib/Driver/Tools.h | |
parent | 368b76ee98535eec93c487ae4b213fa0598a9eff (diff) |
Run the assembler instead of gcc on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r-- | lib/Driver/Tools.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index 98bde7435b..725dd4648a 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -332,6 +332,22 @@ namespace freebsd { }; } // end namespace freebsd + /// linux -- Directly call GNU Binutils assembler and linker +namespace linuxtools { + class LLVM_LIBRARY_VISIBILITY Assemble : public Tool { + public: + Assemble(const ToolChain &TC) : Tool("linux::Assemble", "assembler", + TC) {} + + virtual bool hasIntegratedCPP() const { return false; } + + virtual void ConstructJob(Compilation &C, const JobAction &JA, + const InputInfo &Output, + const InputInfoList &Inputs, + const ArgList &TCArgs, + const char *LinkingOutput) const; + }; +} /// minix -- Directly call GNU Binutils assembler and linker namespace minix { class LLVM_LIBRARY_VISIBILITY Assemble : public Tool { |