From: Daniel Dunbar Date: Fri, 17 Sep 2010 04:25:28 +0000 (+0000) Subject: Reapply "Driver/Darwin: Time for another spin at switching to the DarwinClang", X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9b02c09056e255c5193e83800624b8bc552a1da;p=clang Reapply "Driver/Darwin: Time for another spin at switching to the DarwinClang", now that eprintf symbol issue is resolved. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114166 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp index 7c5e430bb7..745d273a5e 100644 --- a/lib/Driver/HostInfo.cpp +++ b/lib/Driver/HostInfo.cpp @@ -115,6 +115,7 @@ ToolChain *DarwinHostInfo::CreateToolChain(const ArgList &Args, // If we recognized the arch, match it to the toolchains we support. const char *UseNewToolChain = ::getenv("CCC_ENABLE_NEW_DARWIN_TOOLCHAIN"); if (UseNewToolChain || + Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64 || Arch == llvm::Triple::arm || Arch == llvm::Triple::thumb) { TC = new toolchains::DarwinClang(*this, TCTriple); } else if (Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64) {