Lines Matching refs:Args
29 const ArgList &Args, in ConstructJob() argument
31 claimNoWarnArgs(Args); in ConstructJob()
39 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob()
47 const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as")); in ConstructJob()
56 const ArgList &Args, in ConstructJob() argument
62 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
65 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
68 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
70 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
72 else if (!Args.hasArg(options::OPT_r)) { in ConstructJob()
94 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
96 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
97 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
99 Args.MakeArgString(getToolChain().GetFilePath("gcrt1.o"))); in ConstructJob()
101 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
103 Args.MakeArgString(getToolChain().GetFilePath("Scrt1.o"))); in ConstructJob()
106 Args.MakeArgString(getToolChain().GetFilePath("crt1.o"))); in ConstructJob()
109 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o"))); in ConstructJob()
110 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
112 Args.MakeArgString(getToolChain().GetFilePath("crtbeginS.o"))); in ConstructJob()
115 Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o"))); in ConstructJob()
118 Args.AddAllArgs(CmdArgs, in ConstructJob()
121 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
123 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs, in ConstructJob()
127 if (!Args.hasArg(options::OPT_static)) { in ConstructJob()
133 if (getToolChain().ShouldLinkCXXStdlib(Args)) in ConstructJob()
134 getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
138 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
141 if (!Args.hasArg(options::OPT_nolibc)) { in ConstructJob()
145 if (Args.hasArg(options::OPT_static) || in ConstructJob()
146 Args.hasArg(options::OPT_static_libgcc)) { in ConstructJob()
150 if (Args.hasArg(options::OPT_shared_libgcc)) { in ConstructJob()
152 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
163 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
165 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
167 Args.MakeArgString(getToolChain().GetFilePath("crtendS.o"))); in ConstructJob()
170 Args.MakeArgString(getToolChain().GetFilePath("crtend.o"))); in ConstructJob()
171 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o"))); in ConstructJob()
174 getToolChain().addProfileRTLibs(Args, CmdArgs); in ConstructJob()
176 const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath()); in ConstructJob()
185 const ArgList &Args) in DragonFly() argument
186 : Generic_ELF(D, Triple, Args) { in DragonFly()