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 LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_H | 10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_H |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 llvm::opt::ArgStringList &CC1Args) const override
; | 746 llvm::opt::ArgStringList &CC1Args) const override
; |
747 | 747 |
748 CXXStdlibType | 748 CXXStdlibType |
749 GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; | 749 GetCXXStdlibType(const llvm::opt::ArgList &Args) const override; |
750 | 750 |
751 void | 751 void |
752 AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, | 752 AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, |
753 llvm::opt::ArgStringList &CmdArgs) const override; | 753 llvm::opt::ArgStringList &CmdArgs) const override; |
754 | 754 |
755 bool | 755 bool |
756 IsIntegratedAssemblerDefault() const override { return false; } | 756 IsIntegratedAssemblerDefault() const override { |
| 757 return getTriple().getArch() == llvm::Triple::mipsel; |
| 758 } |
757 | 759 |
758 // Get the path to the file containing NaCl's ARM macros. It lives in NaCl_TC | 760 // Get the path to the file containing NaCl's ARM macros. It lives in NaCl_TC |
759 // because the AssembleARM tool needs a const char * that it can pass around | 761 // because the AssembleARM tool needs a const char * that it can pass around |
760 // and the toolchain outlives all the jobs. | 762 // and the toolchain outlives all the jobs. |
761 const char *GetNaClArmMacrosPath() const { return NaClArmMacrosPath.c_str(); } | 763 const char *GetNaClArmMacrosPath() const { return NaClArmMacrosPath.c_str(); } |
762 | 764 |
763 std::string ComputeEffectiveClangTriple(const llvm::opt::ArgList &Args, | 765 std::string ComputeEffectiveClangTriple(const llvm::opt::ArgList &Args, |
764 types::ID InputType) const override; | 766 types::ID InputType) const override; |
765 std::string Linker; | 767 std::string Linker; |
766 | 768 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 llvm::opt::ArgStringList &CC1Args) const override; | 872 llvm::opt::ArgStringList &CC1Args) const override; |
871 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, | 873 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, |
872 llvm::opt::ArgStringList &CmdArgs) const override; | 874 llvm::opt::ArgStringList &CmdArgs) const override; |
873 }; | 875 }; |
874 | 876 |
875 } // end namespace toolchains | 877 } // end namespace toolchains |
876 } // end namespace driver | 878 } // end namespace driver |
877 } // end namespace clang | 879 } // end namespace clang |
878 | 880 |
879 #endif | 881 #endif |
OLD | NEW |