Lines Matching refs:ToolChain
32 const toolchains::NetBSD &ToolChain = in ConstructJob() local
34 const Driver &D = ToolChain.getDriver(); in ConstructJob()
35 const llvm::Triple &Triple = ToolChain.getTriple(); in ConstructJob()
42 switch (ToolChain.getArch()) { in ConstructJob()
76 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
85 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
93 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
109 const char *Exec = Args.MakeArgString((ToolChain.GetProgramPath("as"))); in ConstructJob()
120 const toolchains::NetBSD &ToolChain = in ConstructJob() local
122 const Driver &D = ToolChain.getDriver(); in ConstructJob()
123 const llvm::Triple &Triple = ToolChain.getTriple(); in ConstructJob()
151 switch (ToolChain.getArch()) { in ConstructJob()
175 arm::appendBE8LinkFlag(Args, CmdArgs, ToolChain.getEffectiveTriple()); in ConstructJob()
195 if (ToolChain.getArch() == llvm::Triple::mips64) in ConstructJob()
201 if (ToolChain.getArch() == llvm::Triple::mips64) in ConstructJob()
243 Args.MakeArgString(ToolChain.GetFilePath("crt0.o"))); in ConstructJob()
246 Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
249 Args.MakeArgString(ToolChain.GetFilePath("crtbeginS.o"))); in ConstructJob()
252 Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o"))); in ConstructJob()
264 bool NeedsSanitizerDeps = addSanitizerRuntimes(ToolChain, Args, CmdArgs); in ConstructJob()
265 bool NeedsXRayDeps = addXRayRuntime(ToolChain, Args, CmdArgs); in ConstructJob()
266 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
268 const SanitizerArgs &SanArgs = ToolChain.getSanitizerArgs(Args); in ConstructJob()
271 CmdArgs.push_back(Args.MakeArgString(ToolChain.getCompilerRTPath())); in ConstructJob()
277 switch (ToolChain.getArch()) { in ConstructJob()
303 addOpenMPRuntime(CmdArgs, ToolChain, Args, StaticOpenMP); in ConstructJob()
306 if (ToolChain.ShouldLinkCXXStdlib(Args)) in ConstructJob()
307 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
311 linkSanitizerRuntimeDeps(ToolChain, CmdArgs); in ConstructJob()
313 linkXRayRuntimeDeps(ToolChain, CmdArgs); in ConstructJob()
339 Args.MakeArgString(ToolChain.GetFilePath("crtendS.o"))); in ConstructJob()
342 Args.MakeArgString(ToolChain.GetFilePath("crtend.o"))); in ConstructJob()
343 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructJob()
346 ToolChain.addProfileRTLibs(Args, CmdArgs); in ConstructJob()
348 const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath()); in ConstructJob()
413 ToolChain::CXXStdlibType NetBSD::GetDefaultCXXStdlibType() const { in GetDefaultCXXStdlibType()
430 return ToolChain::CST_Libcxx; in GetDefaultCXXStdlibType()
435 return ToolChain::CST_Libstdcxx; in GetDefaultCXXStdlibType()
477 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()