]> granicus.if.org Git - clang/commitdiff
Driver: Fix thinko where I switched to always using the old toolchain, instead
authorDaniel Dunbar <daniel@zuster.org>
Thu, 26 Aug 2010 00:55:55 +0000 (00:55 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 26 Aug 2010 00:55:55 +0000 (00:55 +0000)
of always using the new toolchain.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112125 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/HostInfo.cpp

index 3adcbc0d7cad7a37eb1a21b3847f59d00e1f84f1..b8d26ff8138318bddc16b73e67220b4fb0165f24 100644 (file)
@@ -115,7 +115,7 @@ ToolChain *DarwinHostInfo::CreateToolChain(const ArgList &Args,
     // If we recognized the arch, match it to the toolchains we support.
     if (Arch == llvm::Triple::arm || Arch == llvm::Triple::thumb ||
         Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64) {
-      TC = new toolchains::DarwinGCC(*this, TCTriple);
+      TC = new toolchains::DarwinClang(*this, TCTriple);
     } else
       TC = new toolchains::Darwin_Generic_GCC(*this, TCTriple);
   }