Lines Matching refs:CmdArgs

36   ArgStringList CmdArgs;  in ConstructJob()  local
51 CmdArgs.push_back("-a32"); in ConstructJob()
54 CmdArgs.push_back("-a64"); in ConstructJob()
61 CmdArgs.push_back("-many"); in ConstructJob()
63 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob()
68 CmdArgs.push_back("-o"); in ConstructJob()
69 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
80 CmdArgs.push_back(II.getFilename()); in ConstructJob()
84 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
89 static bool hasExportListLinkerOpts(const ArgStringList &CmdArgs) { in hasExportListLinkerOpts() argument
90 for (size_t i = 0, Size = CmdArgs.size(); i < Size; ++i) { in hasExportListLinkerOpts()
91 llvm::StringRef ArgString(CmdArgs[i]); in hasExportListLinkerOpts()
100 llvm::StringRef ArgNextString(CmdArgs[i]); in hasExportListLinkerOpts()
116 ArgStringList CmdArgs; in ConstructJob() local
131 CmdArgs.push_back("-bnso"); in ConstructJob()
135 CmdArgs.push_back("-bM:SRE"); in ConstructJob()
136 CmdArgs.push_back("-bnoentry"); in ConstructJob()
147 CmdArgs.push_back("-bforceimprw"); in ConstructJob()
169 CmdArgs.push_back("-bdbg:namedsects:ss"); in ConstructJob()
183 CmdArgs.push_back(Args.MakeArgString(LinkerFlag)); in ConstructJob()
190 CmdArgs.push_back("-o"); in ConstructJob()
191 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
197 CmdArgs.push_back("-b32"); in ConstructJob()
198 CmdArgs.push_back("-bpT:0x10000000"); in ConstructJob()
199 CmdArgs.push_back("-bpD:0x20000000"); in ConstructJob()
202 CmdArgs.push_back("-b64"); in ConstructJob()
203 CmdArgs.push_back("-bpT:0x100000000"); in ConstructJob()
204 CmdArgs.push_back("-bpD:0x110000000"); in ConstructJob()
220 CmdArgs.push_back( in ConstructJob()
223 CmdArgs.push_back(Args.MakeArgString( in ConstructJob()
231 CmdArgs.push_back("-bcdtors:all:0:s"); in ConstructJob()
234 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
246 addLTOOptions(ToolChain, Args, CmdArgs, Output, *Input, in ConstructJob()
250 if (Args.hasArg(options::OPT_shared) && !hasExportListLinkerOpts(CmdArgs)) { in ConstructJob()
281 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-bE:") + ExportList)); in ConstructJob()
285 Args.AddAllArgs(CmdArgs, options::OPT_L); in ConstructJob()
287 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
288 ToolChain.addProfileRTLibs(Args, CmdArgs); in ConstructJob()
291 getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
294 AddRunTimeLibs(ToolChain, D, CmdArgs, Args); in ConstructJob()
301 CmdArgs.push_back("-lomp"); in ConstructJob()
304 CmdArgs.push_back("-liomp5"); in ConstructJob()
307 CmdArgs.push_back("-lgomp"); in ConstructJob()
317 CmdArgs.push_back("-lpthreads"); in ConstructJob()
320 CmdArgs.push_back("-lm"); in ConstructJob()
322 CmdArgs.push_back("-lc"); in ConstructJob()
325 CmdArgs.push_back(Args.MakeArgString((llvm::Twine("-L") + D.SysRoot) + in ConstructJob()
327 CmdArgs.push_back(Args.MakeArgString((llvm::Twine("-L") + D.SysRoot) + in ConstructJob()
334 addFortranRuntimeLibraryPath(ToolChain, Args, CmdArgs); in ConstructJob()
335 addFortranRuntimeLibs(ToolChain, Args, CmdArgs); in ConstructJob()
336 CmdArgs.push_back("-lm"); in ConstructJob()
337 CmdArgs.push_back("-lpthread"); in ConstructJob()
341 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
450 llvm::opt::ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
455 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
457 CmdArgs.push_back("-lc++experimental"); in AddCXXStdlibLibArgs()
458 CmdArgs.push_back("-lc++abi"); in AddCXXStdlibLibArgs()
563 llvm::opt::ArgStringList &CmdArgs) const { in addProfileRTLibs()
567 CmdArgs.push_back(Args.MakeArgString( in addProfileRTLibs()
574 CmdArgs.push_back("-latomic"); in addProfileRTLibs()
578 ToolChain::addProfileRTLibs(Args, CmdArgs); in addProfileRTLibs()