Linux toolchain selection -- sorry folks. =] This should fix the Hexagon
toolchain.
However, I would point out that I see why my testing didn't catch this
-- we have no tests for Hexagon. ;]
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148977
91177308-0d34-0410-b5e6-
96231b3b80d8
TC = new toolchains::Minix(*this, Target);
break;
case llvm::Triple::Linux:
- TC = new toolchains::Linux(*this, Target);
+ if (Target.getArch() == llvm::Triple::hexagon)
+ TC = new toolchains::Hexagon_TC(*this, Target);
+ else
+ TC = new toolchains::Linux(*this, Target);
break;
case llvm::Triple::Win32:
TC = new toolchains::Windows(*this, Target);