aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}