Lines Matching refs:ToolChain
39 const ToolChain &ToolChain = getToolChain(); in getLinkerPath() local
51 return ToolChain.GetProgramPath("wasm-ld"); in getLinkerPath()
56 ToolChain.getDriver().Diag(diag::err_drv_invalid_linker_name) in getLinkerPath()
61 return ToolChain.GetProgramPath(ToolChain.getDefaultLinker()); in getLinkerPath()
70 const ToolChain &ToolChain = getToolChain(); in ConstructJob() local
75 if (ToolChain.getTriple().isArch64Bit()) in ConstructJob()
90 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetProgramPath("wasm-ld"))); in ConstructJob()
95 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
113 ToolChain.getDriver().Diag(diag::err_drv_invalid_argument_to_option) in ConstructJob()
126 if (ToolChain.GetFilePath("crt1-command.o") != "crt1-command.o") in ConstructJob()
134 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(Crt1))); in ConstructJob()
143 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
146 if (ToolChain.ShouldLinkCXXStdlib(Args)) in ConstructJob()
147 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
155 AddRunTimeLibs(ToolChain, ToolChain.getDriver(), CmdArgs, Args); in ConstructJob()
165 WasmOptPath = ToolChain.GetProgramPath("wasm-opt"); in ConstructJob()
216 : ToolChain(D, Triple, Args) { in WebAssembly()
451 ToolChain::RuntimeLibType WebAssembly::GetDefaultRuntimeLibType() const { in GetDefaultRuntimeLibType()
452 return ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
455 ToolChain::CXXStdlibType
460 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
462 return ToolChain::CST_Libstdcxx; in GetCXXStdlibType()
467 return ToolChain::CST_Libcxx; in GetCXXStdlibType()
515 case ToolChain::CST_Libcxx: in AddClangCXXStdlibIncludeArgs()
518 case ToolChain::CST_Libstdcxx: in AddClangCXXStdlibIncludeArgs()
528 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
534 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
541 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()