diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-09-17 01:56:41 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-09-17 01:56:41 +0000 |
commit | a7afcf92d14f2e6ca74894dd8ab3e6675ba9130a (patch) | |
tree | 9874efcbd03b1d2d5894f4e4ce25b33c9115bd29 /clang/lib/Driver/HostInfo.cpp | |
parent | 18fa17cf3db3ae4d947c4920e3b05666be1e4661 (diff) | |
download | bcm5719-llvm-a7afcf92d14f2e6ca74894dd8ab3e6675ba9130a.tar.gz bcm5719-llvm-a7afcf92d14f2e6ca74894dd8ab3e6675ba9130a.zip |
Driver/Darwin: Time for another spin at switching to the DarwinClang toolchain.
llvm-svn: 114149
Diffstat (limited to 'clang/lib/Driver/HostInfo.cpp')
-rw-r--r-- | clang/lib/Driver/HostInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Driver/HostInfo.cpp b/clang/lib/Driver/HostInfo.cpp index 7c5e430bb7d..745d273a5e2 100644 --- a/clang/lib/Driver/HostInfo.cpp +++ b/clang/lib/Driver/HostInfo.cpp @@ -115,6 +115,7 @@ ToolChain *DarwinHostInfo::CreateToolChain(const ArgList &Args, // 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) { |