aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-26 00:55:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-26 00:55:55 +0000
commit5edbd23c2a6b21cd4a80e1a83db3fcfadb339764 (patch)
treeb772d2c77fb05c33180bebedaf218bf13dc055f1
parent3a0e3926b8824076cf5c2f9c96883e72fd84c9cb (diff)
Driver: Fix thinko where I switched to always using the old toolchain, instead
of always using the new toolchain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112125 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/HostInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index 3adcbc0d7c..b8d26ff813 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -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);
}