From: Tim Northover Date: Thu, 13 Jun 2013 22:54:55 +0000 (+0000) Subject: Remove implicit fallthrough from AArch64 to Mips in lib selection X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=162579a9441c7c8c308c56ac706799765ccbc4ee;p=clang Remove implicit fallthrough from AArch64 to Mips in lib selection Nothing useful to AArch64 will (should!) be found in any Mips-specific directories. Patch by Luke Zarko. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183956 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 1a7eb1babb..71b010e185 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2153,6 +2153,7 @@ static std::string getMultiarchTriple(const llvm::Triple TargetTriple, case llvm::Triple::aarch64: if (llvm::sys::fs::exists(SysRoot + "/lib/aarch64-linux-gnu")) return "aarch64-linux-gnu"; + return TargetTriple.str(); case llvm::Triple::mips: if (llvm::sys::fs::exists(SysRoot + "/lib/mips-linux-gnu")) return "mips-linux-gnu";