From 712f0887f69239b53dd7e646edb9b3f672b963be Mon Sep 17 00:00:00 2001 From: Vasileios Kalintiris Date: Fri, 2 Oct 2015 14:38:23 +0000 Subject: Add support for the new mips-mti-linux toolchain. Summary: This new toolchain uses primarily LLVM-based tools, eg. compiler-rt, lld, libcxx, etc. Because of this, it doesn't require neither an existing GCC installation nor a GNU environment. Ideally, in a follow-up patch we would like to add a new --{llvm|clang}-toolchain option (similar to --gcc-toolchain) in order to allow the use of this toolchain with independent Clang builds. For the time being, we use the --sysroot option just to test the correctness of the paths generated by the driver. Reviewers: atanasyan, dsanders, rsmith Subscribers: jfb, tberghammer, danalbert, srhines, dschuff, cfe-commits Differential Revision: http://reviews.llvm.org/D13340 llvm-svn: 249137 --- clang/lib/Driver/Tools.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang/lib/Driver/Tools.h') diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index 30ddcc90c23..bdcec931e39 100644 --- a/clang/lib/Driver/Tools.h +++ b/clang/lib/Driver/Tools.h @@ -267,6 +267,8 @@ NanEncoding getSupportedNanEncoding(StringRef &CPU); void getMipsCPUAndABI(const llvm::opt::ArgList &Args, const llvm::Triple &Triple, StringRef &CPUName, StringRef &ABIName); +std::string getMipsABILibSuffix(const llvm::opt::ArgList &Args, + const llvm::Triple &Triple); bool hasMipsAbiArg(const llvm::opt::ArgList &Args, const char *Value); bool isUCLibc(const llvm::opt::ArgList &Args); bool isNaN2008(const llvm::opt::ArgList &Args, const llvm::Triple &Triple); -- cgit v1.2.3