Lines Matching refs:CmdArgs
263 ArgStringList &CmdArgs) const { in AddLinkARCArgs()
274 CmdArgs.push_back("-force_load"); in AddLinkARCArgs()
296 CmdArgs.push_back(Args.MakeArgString(P)); in AddLinkARCArgs()
299 void MachO::AddLinkRuntimeLib(const ArgList &Args, ArgStringList &CmdArgs, in AddLinkRuntimeLib() argument
312 CmdArgs.push_back(Args.MakeArgString(P)); in AddLinkRuntimeLib()
323 CmdArgs.push_back("-rpath"); in AddLinkRuntimeLib()
324 CmdArgs.push_back("@executable_path"); in AddLinkRuntimeLib()
328 CmdArgs.push_back("-rpath"); in AddLinkRuntimeLib()
329 CmdArgs.push_back(Args.MakeArgString(Dir)); in AddLinkRuntimeLib()
384 ArgStringList &CmdArgs) const { in addProfileRTLibs()
387 AddLinkRuntimeLib(Args, CmdArgs, (Twine("libclang_rt.profile_") + in addProfileRTLibs()
393 ArgStringList &CmdArgs, in AddLinkSanitizerLibArgs() argument
396 Args, CmdArgs, in AddLinkSanitizerLibArgs()
404 ArgStringList &CmdArgs) const { in AddLinkRuntimeLibArgs()
432 AddLinkSanitizerLibArgs(Args, CmdArgs, "asan"); in AddLinkRuntimeLibArgs()
434 AddLinkSanitizerLibArgs(Args, CmdArgs, "ubsan"); in AddLinkRuntimeLibArgs()
436 AddLinkSanitizerLibArgs(Args, CmdArgs, "tsan"); in AddLinkRuntimeLibArgs()
439 AddLinkRuntimeLib(Args, CmdArgs, in AddLinkRuntimeLibArgs()
442 AddLinkSanitizerLibArgs(Args, CmdArgs, "stats"); in AddLinkRuntimeLibArgs()
445 AddLinkSanitizerLibArgs(Args, CmdArgs, "esan"); in AddLinkRuntimeLibArgs()
449 CmdArgs.push_back("-lSystem"); in AddLinkRuntimeLibArgs()
454 AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.watchos.a"); in AddLinkRuntimeLibArgs()
457 AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.tvos.a"); in AddLinkRuntimeLibArgs()
464 CmdArgs.push_back("-lgcc_s.1"); in AddLinkRuntimeLibArgs()
467 AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.ios.a"); in AddLinkRuntimeLibArgs()
473 CmdArgs.push_back("-lgcc_s.10.4"); in AddLinkRuntimeLibArgs()
475 CmdArgs.push_back("-lgcc_s.10.5"); in AddLinkRuntimeLibArgs()
486 AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.10.4.a"); in AddLinkRuntimeLibArgs()
489 AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.eprintf.a"); in AddLinkRuntimeLibArgs()
490 AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.osx.a"); in AddLinkRuntimeLibArgs()
730 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
735 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
753 CmdArgs.push_back(Args.MakeArgString(P)); in AddCXXStdlibLibArgs()
764 CmdArgs.push_back("/usr/lib/libstdc++.6.dylib"); in AddCXXStdlibLibArgs()
769 CmdArgs.push_back("-lstdc++"); in AddCXXStdlibLibArgs()
775 ArgStringList &CmdArgs) const { in AddCCKextLibArgs()
797 CmdArgs.push_back(Args.MakeArgString(P)); in AddCCKextLibArgs()
1016 ArgStringList &CmdArgs) const { in AddLinkRuntimeLibArgs()
1027 AddLinkRuntimeLib(Args, CmdArgs, CompilerRT, false, true); in AddLinkRuntimeLibArgs()
1131 ArgStringList &CmdArgs) const { in addMinVersionArgs()
1135 CmdArgs.push_back("-watchos_version_min"); in addMinVersionArgs()
1137 CmdArgs.push_back("-watchos_simulator_version_min"); in addMinVersionArgs()
1139 CmdArgs.push_back("-tvos_version_min"); in addMinVersionArgs()
1141 CmdArgs.push_back("-tvos_simulator_version_min"); in addMinVersionArgs()
1143 CmdArgs.push_back("-ios_simulator_version_min"); in addMinVersionArgs()
1145 CmdArgs.push_back("-iphoneos_version_min"); in addMinVersionArgs()
1148 CmdArgs.push_back("-macosx_version_min"); in addMinVersionArgs()
1151 CmdArgs.push_back(Args.MakeArgString(TargetVersion.getAsString())); in addMinVersionArgs()
1155 ArgStringList &CmdArgs) const { in addStartObjectFileArgs()
1165 CmdArgs.push_back("-ldylib1.o"); in addStartObjectFileArgs()
1168 CmdArgs.push_back("-ldylib1.o"); in addStartObjectFileArgs()
1170 CmdArgs.push_back("-ldylib1.10.5.o"); in addStartObjectFileArgs()
1182 CmdArgs.push_back("-lbundle1.o"); in addStartObjectFileArgs()
1185 CmdArgs.push_back("-lbundle1.o"); in addStartObjectFileArgs()
1193 CmdArgs.push_back("-lgcrt0.o"); in addStartObjectFileArgs()
1195 CmdArgs.push_back("-lgcrt1.o"); in addStartObjectFileArgs()
1205 CmdArgs.push_back("-no_new_main"); in addStartObjectFileArgs()
1210 CmdArgs.push_back("-lcrt0.o"); in addStartObjectFileArgs()
1221 CmdArgs.push_back("-lcrt1.o"); in addStartObjectFileArgs()
1223 CmdArgs.push_back("-lcrt1.3.1.o"); in addStartObjectFileArgs()
1226 CmdArgs.push_back("-lcrt1.o"); in addStartObjectFileArgs()
1228 CmdArgs.push_back("-lcrt1.10.5.o"); in addStartObjectFileArgs()
1230 CmdArgs.push_back("-lcrt1.10.6.o"); in addStartObjectFileArgs()
1243 CmdArgs.push_back(Str); in addStartObjectFileArgs()
2907 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
2911 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
2912 CmdArgs.push_back("-lc++abi"); in AddCXXStdlibLibArgs()
2913 CmdArgs.push_back("-lunwind"); in AddCXXStdlibLibArgs()
3209 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
3213 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
3329 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
3330 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
3331 CmdArgs.push_back("-lc++abi"); in AddCXXStdlibLibArgs()
3332 CmdArgs.push_back("-lunwind"); in AddCXXStdlibLibArgs()
3445 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
3448 CmdArgs.push_back("-lc++"); in AddCXXStdlibLibArgs()
3449 CmdArgs.push_back("-lc++abi"); in AddCXXStdlibLibArgs()
3450 CmdArgs.push_back("-lpthread"); in AddCXXStdlibLibArgs()
3453 CmdArgs.push_back("-lstdc++"); in AddCXXStdlibLibArgs()
3501 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()
3507 CmdArgs.push_back(Profiling ? "-lc++_p" : "-lc++"); in AddCXXStdlibLibArgs()
3511 CmdArgs.push_back(Profiling ? "-lstdc++_p" : "-lstdc++"); in AddCXXStdlibLibArgs()
4699 llvm::opt::ArgStringList &CmdArgs) const { in addProfileRTLibs()
4705 CmdArgs.push_back(Args.MakeArgString( in addProfileRTLibs()
4707 ToolChain::addProfileRTLibs(Args, CmdArgs); in addProfileRTLibs()
4903 ArgStringList &CmdArgs) const { in AddCXXStdlibLibArgs()