aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-04 18:34:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-04 18:34:51 +0000
commitf395528158379e7ea9f6ff4bbb791abadca15aab (patch)
treeea6c62ffe3abfef8aed645f67b916c80b8c01329 /lib/Driver/HostInfo.cpp
parenta78c5c34fbd20fde02261c3f3e21933cd58fcc04 (diff)
Rename Darwin_X86 toolchain to just Darwin, this can support all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r--lib/Driver/HostInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index 1b64212d88..89a3f8f49e 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -157,9 +157,9 @@ ToolChain *DarwinHostInfo::getToolChain(const ArgList &Args,
TCTriple.setArchName(ArchName);
if (strcmp(ArchName, "i386") == 0 || strcmp(ArchName, "x86_64") == 0)
- TC = new toolchains::Darwin_X86(*this, TCTriple,
- DarwinVersion,
- GCCVersion);
+ TC = new toolchains::Darwin(*this, TCTriple,
+ DarwinVersion,
+ GCCVersion);
else
TC = new toolchains::Darwin_GCC(*this, TCTriple);
}