diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-23 20:58:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-23 20:58:55 +0000 |
commit | 673745ff71889df736458f68b8fcca43d794b2b8 (patch) | |
tree | d0cc5735dcb9fb4e3972bfc2487da6bdda1c22e5 /lib/Driver/HostInfo.cpp | |
parent | eab3bc4f0b51b6558c85eb6a8079f327573790ba (diff) |
Driver/Darwin: Switch to using simplified tool chain by default -- what better
way to see what will break! :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r-- | lib/Driver/HostInfo.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp index 7c5e430bb7..3adcbc0d7c 100644 --- a/lib/Driver/HostInfo.cpp +++ b/lib/Driver/HostInfo.cpp @@ -113,12 +113,8 @@ ToolChain *DarwinHostInfo::CreateToolChain(const ArgList &Args, TCTriple.setArch(Arch); // 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::arm || Arch == llvm::Triple::thumb) { - TC = new toolchains::DarwinClang(*this, TCTriple); - } else if (Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64) { - // We still use the legacy DarwinGCC toolchain on X86. + if (Arch == llvm::Triple::arm || Arch == llvm::Triple::thumb || + Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64) { TC = new toolchains::DarwinGCC(*this, TCTriple); } else TC = new toolchains::Darwin_Generic_GCC(*this, TCTriple); |