Lines Matching refs:Args

31                                       const ArgList &Args,  in ConstructJob()  argument
38 claimNoWarnArgs(Args); in ConstructJob()
49 arm::getARMArchCPUFromArgs(Args, MArch, MCPU, /*FromAs*/ true); in ConstructJob()
51 CmdArgs.push_back(Args.MakeArgString("-mcpu=" + Arch)); in ConstructJob()
62 std::string CPU = getCPUName(D, Args, Triple); in ConstructJob()
64 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
72 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in ConstructJob()
85 AddAssemblerKPIC(ToolChain, Args, CmdArgs); in ConstructJob()
93 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob()
101 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as")); in ConstructJob()
110 const ArgList &Args, in ConstructJob() argument
116 const bool Static = Args.hasArg(options::OPT_static); in ConstructJob()
117 const bool Shared = Args.hasArg(options::OPT_shared); in ConstructJob()
118 const bool Profiling = Args.hasArg(options::OPT_pg); in ConstructJob()
119 const bool Pie = Args.hasArg(options::OPT_pie); in ConstructJob()
120 const bool Nopie = Args.hasArg(options::OPT_no_pie, options::OPT_nopie); in ConstructJob()
121 const bool Relocatable = Args.hasArg(options::OPT_r); in ConstructJob()
125 Args.ClaimAllArgs(options::OPT_g_Group); in ConstructJob()
127 Args.ClaimAllArgs(options::OPT_emit_llvm); in ConstructJob()
130 Args.ClaimAllArgs(options::OPT_w); in ConstructJob()
133 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
140 if (!Args.hasArg(options::OPT_nostdlib) && !Shared && !Relocatable) { in ConstructJob()
149 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
166 if (Args.hasArg(options::OPT_mno_relax)) in ConstructJob()
176 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
193 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt0))); in ConstructJob()
194 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
197 Args.AddAllArgs(CmdArgs, options::OPT_L); in ConstructJob()
198 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
199 Args.addAllArgs(CmdArgs, in ConstructJob()
212 addLTOOptions(ToolChain, Args, CmdArgs, Output, *Input, in ConstructJob()
216 bool NeedsSanitizerDeps = addSanitizerRuntimes(ToolChain, Args, CmdArgs); in ConstructJob()
217 bool NeedsXRayDeps = addXRayRuntime(ToolChain, Args, CmdArgs); in ConstructJob()
218 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
220 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs, in ConstructJob()
223 bool StaticOpenMP = Args.hasArg(options::OPT_static_openmp) && !Static; in ConstructJob()
224 addOpenMPRuntime(C, CmdArgs, ToolChain, Args, StaticOpenMP); in ConstructJob()
227 if (ToolChain.ShouldLinkCXXStdlib(Args)) in ConstructJob()
228 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
236 Args.ClaimAllArgs(options::OPT_stdlib_EQ); in ConstructJob()
243 addFortranRuntimeLibraryPath(ToolChain, Args, CmdArgs); in ConstructJob()
244 addFortranRuntimeLibs(ToolChain, Args, CmdArgs); in ConstructJob()
252 CmdArgs.push_back(ToolChain.getCompilerRTArgString(Args, "builtins")); in ConstructJob()
253 linkSanitizerRuntimeDeps(ToolChain, Args, CmdArgs); in ConstructJob()
256 CmdArgs.push_back(ToolChain.getCompilerRTArgString(Args, "builtins")); in ConstructJob()
257 linkXRayRuntimeDeps(ToolChain, Args, CmdArgs); in ConstructJob()
263 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
280 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
288 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend))); in ConstructJob()
291 ToolChain.addProfileRTLibs(Args, CmdArgs); in ConstructJob()
293 const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath()); in ConstructJob()
317 const ArgList &Args) in OpenBSD() argument
318 : Generic_ELF(D, Triple, Args) { in OpenBSD()
362 void OpenBSD::AddCXXStdlibLibArgs(const ArgList &Args, in AddCXXStdlibLibArgs() argument
364 bool Profiling = Args.hasArg(options::OPT_pg); in AddCXXStdlibLibArgs()
367 if (Args.hasArg(options::OPT_fexperimental_library)) in AddCXXStdlibLibArgs()
373 std::string OpenBSD::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT() argument
383 buildCompilerRTBasename(Args, Component, Type, /*AddArch=*/false); in getCompilerRT()
388 return ToolChain::getCompilerRT(Args, Component, Type); in getCompilerRT()
400 OpenBSD::getDefaultUnwindTableLevel(const ArgList &Args) const { in getDefaultUnwindTableLevel()