Lines Matching refs:CmdArgs
31 ArgStringList CmdArgs; in ConstructJob() local
42 CmdArgs.push_back("--32"); in ConstructJob()
45 CmdArgs.push_back("--64"); in ConstructJob()
49 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob()
51 CmdArgs.push_back("-o"); in ConstructJob()
52 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
55 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
61 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
73 ArgStringList CmdArgs; in ConstructJob() local
85 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
88 CmdArgs.push_back("-pie"); in ConstructJob()
90 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
92 CmdArgs.push_back("--strip-all"); in ConstructJob()
94 CmdArgs.push_back("-m"); in ConstructJob()
102 CmdArgs.push_back("thumb2pe"); in ConstructJob()
105 CmdArgs.push_back("arm64pe"); in ConstructJob()
108 CmdArgs.push_back("i386pe"); in ConstructJob()
112 CmdArgs.push_back("i386pep"); in ConstructJob()
131 CmdArgs.push_back("-shared"); in ConstructJob()
132 CmdArgs.push_back(Args.hasArg(options::OPT_static) ? "-Bstatic" in ConstructJob()
135 CmdArgs.push_back("--enable-auto-image-base"); in ConstructJob()
137 CmdArgs.push_back("--entry"); in ConstructJob()
138 CmdArgs.push_back(Args.MakeArgString(EntryPoint)); in ConstructJob()
142 CmdArgs.push_back(Args.hasArg(options::OPT_static) ? "-Bstatic" in ConstructJob()
146 CmdArgs.push_back("--entry"); in ConstructJob()
147 CmdArgs.push_back(Args.MakeArgString(EntryPoint)); in ConstructJob()
154 CmdArgs.push_back("--allow-multiple-definition"); in ConstructJob()
156 CmdArgs.push_back("-o"); in ConstructJob()
157 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
163 CmdArgs.push_back("--out-implib"); in ConstructJob()
164 CmdArgs.push_back(Args.MakeArgString(ImpLib)); in ConstructJob()
167 Args.AddAllArgs(CmdArgs, options::OPT_L); in ConstructJob()
168 TC.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
169 AddLinkerInputs(TC, Inputs, Args, CmdArgs, JA); in ConstructJob()
175 CmdArgs.push_back("-Bstatic"); in ConstructJob()
176 TC.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
178 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
184 CmdArgs.push_back("-lmsvcrt"); in ConstructJob()
185 AddRunTimeLibs(TC, D, CmdArgs, Args); in ConstructJob()
192 CmdArgs.push_back(TC.getCompilerRTArgString(Args, "asan_dll_thunk")); in ConstructJob()
195 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Lib)); in ConstructJob()
198 CmdArgs.push_back(Args.MakeArgString("--undefined")); in ConstructJob()
199 CmdArgs.push_back(Args.MakeArgString(TC.getArch() == llvm::Triple::x86 in ConstructJob()
209 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
277 llvm::opt::ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
279 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
281 CmdArgs.push_back("-lc++experimental"); in AddCXXStdlibLibArgs()