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 | 92b009311286ba7a3100397d1c1f568c43b7c96e (patch) | |
tree | bcb7c1b660388ec9689da43880553c0a96f4f906 /clang/lib/Driver/Tools.h | |
parent | b2b6b65b86a87eb1b683d2207d6515d901e5921e (diff) | |
download | bcm5719-llvm-92b009311286ba7a3100397d1c1f568c43b7c96e.tar.gz bcm5719-llvm-92b009311286ba7a3100397d1c1f568c43b7c96e.zip |
Run the assembler instead of gcc on Linux.
llvm-svn: 110635
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r-- | clang/lib/Driver/Tools.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index 98bde7435b3..725dd4648ab 100644 --- a/clang/lib/Driver/Tools.h +++ b/clang/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 { |