[cfe-commits] r112125 - /cfe/trunk/lib/Driver/HostInfo.cpp

Daniel Dunbar daniel at zuster.org
Wed Aug 25 17:55:55 PDT 2010


Author: ddunbar
Date: Wed Aug 25 19:55:55 2010
New Revision: 112125

URL: http://llvm.org/viewvc/llvm-project?rev=112125&view=rev
Log:
Driver: Fix thinko where I switched to always using the old toolchain, instead
of always using the new toolchain.

Modified:
    cfe/trunk/lib/Driver/HostInfo.cpp

Modified: cfe/trunk/lib/Driver/HostInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/HostInfo.cpp?rev=112125&r1=112124&r2=112125&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/HostInfo.cpp (original)
+++ cfe/trunk/lib/Driver/HostInfo.cpp Wed Aug 25 19:55:55 2010
@@ -115,7 +115,7 @@
     // 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);
   }





More information about the cfe-commits mailing list