Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/lib/Driver/Driver.cpp
Show First 20 Lines • Show All 2,259 Lines • ▼ Show 20 Lines | default: | ||||
TC = new toolchains::HexagonToolChain(*this, Target, Args); | TC = new toolchains::HexagonToolChain(*this, Target, Args); | ||||
break; | break; | ||||
case llvm::Triple::xcore: | case llvm::Triple::xcore: | ||||
TC = new toolchains::XCoreToolChain(*this, Target, Args); | TC = new toolchains::XCoreToolChain(*this, Target, Args); | ||||
break; | break; | ||||
case llvm::Triple::shave: | case llvm::Triple::shave: | ||||
TC = new toolchains::SHAVEToolChain(*this, Target, Args); | TC = new toolchains::SHAVEToolChain(*this, Target, Args); | ||||
break; | break; | ||||
case llvm::Triple::wasm32: | |||||
case llvm::Triple::wasm64: | |||||
TC = new toolchains::WebAssembly(*this, Target, Args); | |||||
break; | |||||
default: | default: | ||||
if (Target.isOSBinFormatELF()) | if (Target.isOSBinFormatELF()) | ||||
TC = new toolchains::Generic_ELF(*this, Target, Args); | TC = new toolchains::Generic_ELF(*this, Target, Args); | ||||
else if (Target.isOSBinFormatMachO()) | else if (Target.isOSBinFormatMachO()) | ||||
TC = new toolchains::MachO(*this, Target, Args); | TC = new toolchains::MachO(*this, Target, Args); | ||||
else | else | ||||
TC = new toolchains::Generic_GCC(*this, Target, Args); | TC = new toolchains::Generic_GCC(*this, Target, Args); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |