Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Side by Side Diff: lib/Driver/ToolChains.h

Issue 1208073002: [MIPS] Add support for direct-to-nacl in Clang (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Updated change. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/CodeGen/TargetInfo.cpp ('k') | lib/Driver/ToolChains.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « lib/CodeGen/TargetInfo.cpp ('k') | lib/Driver/ToolChains.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698