[cfe-commits] r114166 - /cfe/trunk/lib/Driver/HostInfo.cpp
Daniel Dunbar
daniel at zuster.org
Thu Sep 16 21:25:28 PDT 2010
Author: ddunbar
Date: Thu Sep 16 23:25:28 2010
New Revision: 114166
URL: http://llvm.org/viewvc/llvm-project?rev=114166&view=rev
Log:
Reapply "Driver/Darwin: Time for another spin at switching to the DarwinClang",
now that eprintf symbol issue is resolved.
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=114166&r1=114165&r2=114166&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/HostInfo.cpp (original)
+++ cfe/trunk/lib/Driver/HostInfo.cpp Thu Sep 16 23:25:28 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