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

Daniel Dunbar daniel at zuster.org
Thu Sep 16 18:56:41 PDT 2010


Author: ddunbar
Date: Thu Sep 16 20:56:41 2010
New Revision: 114149

URL: http://llvm.org/viewvc/llvm-project?rev=114149&view=rev
Log:
Driver/Darwin: Time for another spin at switching to the DarwinClang 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=114149&r1=114148&r2=114149&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/HostInfo.cpp (original)
+++ cfe/trunk/lib/Driver/HostInfo.cpp Thu Sep 16 20:56:41 2010
@@ -115,6 +115,7 @@
     // 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) {





More information about the cfe-commits mailing list