| OLD | NEW |
| 1 //===--- ToolChains.h - ToolChain Implementations ---------------*- C++ -*-===// | 1 //===--- ToolChains.h - ToolChain 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 CLANG_LIB_DRIVER_TOOLCHAINS_H_ | 10 #ifndef CLANG_LIB_DRIVER_TOOLCHAINS_H_ |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, | 734 AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, |
| 735 llvm::opt::ArgStringList &CmdArgs) const override; | 735 llvm::opt::ArgStringList &CmdArgs) const override; |
| 736 | 736 |
| 737 bool | 737 bool |
| 738 IsIntegratedAssemblerDefault() const override { return false; } | 738 IsIntegratedAssemblerDefault() const override { return false; } |
| 739 | 739 |
| 740 // Get the path to the file containing NaCl's ARM macros. It lives in NaCl_TC | 740 // Get the path to the file containing NaCl's ARM macros. It lives in NaCl_TC |
| 741 // because the AssembleARM tool needs a const char * that it can pass around | 741 // because the AssembleARM tool needs a const char * that it can pass around |
| 742 // and the toolchain outlives all the jobs. | 742 // and the toolchain outlives all the jobs. |
| 743 const char *GetNaClArmMacrosPath() const { return NaClArmMacrosPath.c_str(); } | 743 const char *GetNaClArmMacrosPath() const { return NaClArmMacrosPath.c_str(); } |
| 744 |
| 745 std::string ComputeEffectiveClangTriple(const llvm::opt::ArgList &Args, |
| 746 types::ID InputType) const override; |
| 744 std::string Linker; | 747 std::string Linker; |
| 745 | 748 |
| 746 protected: | 749 protected: |
| 747 Tool *buildLinker() const override; | 750 Tool *buildLinker() const override; |
| 748 Tool *buildAssembler() const override; | 751 Tool *buildAssembler() const override; |
| 749 | 752 |
| 750 private: | 753 private: |
| 751 std::string NaClArmMacrosPath; | 754 std::string NaClArmMacrosPath; |
| 752 }; | 755 }; |
| 753 // @LOCALMOD-END | 756 // @LOCALMOD-END |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 llvm::opt::ArgStringList &CC1Args) const override; | 815 llvm::opt::ArgStringList &CC1Args) const override; |
| 813 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, | 816 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, |
| 814 llvm::opt::ArgStringList &CmdArgs) const override; | 817 llvm::opt::ArgStringList &CmdArgs) const override; |
| 815 }; | 818 }; |
| 816 | 819 |
| 817 } // end namespace toolchains | 820 } // end namespace toolchains |
| 818 } // end namespace driver | 821 } // end namespace driver |
| 819 } // end namespace clang | 822 } // end namespace clang |
| 820 | 823 |
| 821 #endif | 824 #endif |
| OLD | NEW |