| OLD | NEW |
| 1 //===--- Tools.h - Tool Implementations -------------------------*- C++ -*-===// | 1 //===--- Tools.h - Tool Implementations -------------------------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 | 9 |
| 10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLS_H | 10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLS_H |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 class LLVM_LIBRARY_VISIBILITY AssembleARM : public gnutools::Assemble { | 517 class LLVM_LIBRARY_VISIBILITY AssembleARM : public gnutools::Assemble { |
| 518 public: | 518 public: |
| 519 AssembleARM(const ToolChain &TC) : gnutools::Assemble(TC) {} | 519 AssembleARM(const ToolChain &TC) : gnutools::Assemble(TC) {} |
| 520 | 520 |
| 521 void ConstructJob(Compilation &C, const JobAction &JA, | 521 void ConstructJob(Compilation &C, const JobAction &JA, |
| 522 const InputInfo &Output, | 522 const InputInfo &Output, |
| 523 const InputInfoList &Inputs, | 523 const InputInfoList &Inputs, |
| 524 const llvm::opt::ArgList &TCArgs, | 524 const llvm::opt::ArgList &TCArgs, |
| 525 const char *LinkingOutput) const override; | 525 const char *LinkingOutput) const override; |
| 526 }; | 526 }; |
| 527 class LLVM_LIBRARY_VISIBILITY Link : public Tool { | 527 class LLVM_LIBRARY_VISIBILITY Link : public gnutools::Link { |
| 528 public: | 528 public: |
| 529 Link(const ToolChain &TC) : Tool("NaCl::Link", "linker", TC) {} | 529 Link(const ToolChain &TC) : gnutools::Link(TC) {} |
| 530 | |
| 531 bool hasIntegratedCPP() const override { return false; } | |
| 532 bool isLinkJob() const override { return true; } | |
| 533 | 530 |
| 534 void ConstructJob(Compilation &C, const JobAction &JA, | 531 void ConstructJob(Compilation &C, const JobAction &JA, |
| 535 const InputInfo &Output, | 532 const InputInfo &Output, |
| 536 const InputInfoList &Inputs, | 533 const InputInfoList &Inputs, |
| 537 const llvm::opt::ArgList &TCArgs, | 534 const llvm::opt::ArgList &TCArgs, |
| 538 const char *LinkingOutput) const override; | 535 const char *LinkingOutput) const override; |
| 539 }; | 536 }; |
| 540 } | 537 } |
| 541 | 538 |
| 542 /// minix -- Directly call GNU Binutils assembler and linker | 539 /// minix -- Directly call GNU Binutils assembler and linker |
| 543 namespace minix { | 540 namespace minix { |
| 544 class LLVM_LIBRARY_VISIBILITY Assemble : public GnuTool { | 541 class LLVM_LIBRARY_VISIBILITY Assemble : public GnuTool { |
| 545 public: | 542 public: |
| 546 Assemble(const ToolChain &TC) : GnuTool("minix::Assemble", "assembler", | 543 Assemble(const ToolChain &TC) : GnuTool("minix::Assemble", "assembler", |
| 547 TC) {} | 544 TC) {} |
| 548 | 545 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 const llvm::opt::ArgList &TCArgs, | 719 const llvm::opt::ArgList &TCArgs, |
| 723 const char *LinkingOutput) const override; | 720 const char *LinkingOutput) const override; |
| 724 }; | 721 }; |
| 725 } | 722 } |
| 726 | 723 |
| 727 } // end namespace toolchains | 724 } // end namespace toolchains |
| 728 } // end namespace driver | 725 } // end namespace driver |
| 729 } // end namespace clang | 726 } // end namespace clang |
| 730 | 727 |
| 731 #endif | 728 #endif |
| OLD | NEW |