reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Option/Arg.cpp
  110     Output.push_back(Args.MakeArgString(OS.str()));
  121     Output.push_back(Args.MakeArgString(getSpelling()));
lib/Option/ArgList.cpp
  154       Output.push_back(MakeArgString(StringRef(Translation) +
  182   return MakeArgString(LHS + RHS);
  235   return BaseArgs.MakeArgString(Str);
  244       std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
  253       std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
  262       std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
  271       Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), Index,
lib/Option/Option.cpp
  253   StringRef UnaliasedSpelling = Args.MakeArgString(
tools/clang/lib/Driver/Driver.cpp
 1445   Cmd.setResponseFile(C.addTempFile(C.getArgs().MakeArgString(TmpName)));
 1954     Archs.push_back(Args.MakeArgString(TC.getDefaultUniversalArchName()));
 4357   return Args.MakeArgString(Filename.c_str());
 4424     return C.addTempFile(C.getArgs().MakeArgString(TmpName));
 4481       NamedOutput = C.getArgs().MakeArgString(Output.c_str());
 4484     NamedOutput = C.getArgs().MakeArgString(GetClPchPath(C, BaseName));
 4506     NamedOutput = C.getArgs().MakeArgString(Suffixed.c_str());
 4517     NamedOutput = C.getArgs().MakeArgString(TempPath.c_str());
 4534       return C.addTempFile(C.getArgs().MakeArgString(TmpName));
 4545     return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA);
tools/clang/lib/Driver/SanitizerArgs.cpp
  873   CmdArgs.push_back(Args.MakeArgString(LinkerOptionFlag));
  924     CmdArgs.push_back(Args.MakeArgString(
  927       CmdArgs.push_back(Args.MakeArgString(
  931     CmdArgs.push_back(Args.MakeArgString("--dependent-lib=" +
  938     CmdArgs.push_back(Args.MakeArgString("--dependent-lib=" +
  945   CmdArgs.push_back(Args.MakeArgString("-fsanitize=" + toString(Sanitizers)));
  948     CmdArgs.push_back(Args.MakeArgString("-fsanitize-recover=" +
  953         Args.MakeArgString("-fsanitize-trap=" + toString(TrapSanitizers)));
  958     CmdArgs.push_back(Args.MakeArgString(BlacklistOpt));
  963     CmdArgs.push_back(Args.MakeArgString(ExtraDepOpt));
  967     CmdArgs.push_back(Args.MakeArgString("-fsanitize-memory-track-origins=" +
 1005     CmdArgs.push_back(Args.MakeArgString("-fsanitize-address-field-padding=" +
 1032     CmdArgs.push_back(Args.MakeArgString("hwasan-abi=" + HwasanAbi));
tools/clang/lib/Driver/ToolChain.cpp
  424   return Args.MakeArgString(getCompilerRT(Args, Component, Type));
  805   CC1Args.push_back(DriverArgs.MakeArgString(Path));
  820   CC1Args.push_back(DriverArgs.MakeArgString(Path));
  836     CC1Args.push_back(DriverArgs.MakeArgString(Path));
  891       CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath));
  919   CmdArgs.push_back(Args.MakeArgString(Path));
tools/clang/lib/Driver/ToolChains/AIX.cpp
   73         Args.MakeArgString(ToolChain.GetFilePath(getCrt0Basename())));
   91   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   34   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/AVR.cpp
  131     CmdArgs.push_back(Args.MakeArgString(CrtFileName));
  138     CmdArgs.push_back(Args.MakeArgString(std::string("-l") + CPU));
  144     CmdArgs.push_back(Args.MakeArgString(std::string("-m") + *FamilyName));
  147   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/Ananas.cpp
   41   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
   63     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
   88       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
   90     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
   92       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbeginS.o")));
   94       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o")));
  119       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtendS.o")));
  121       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  122     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  125   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  378             Args.MakeArgString((F.second ? "+" : "-") + F.first()));
  471       Features.push_back(Args.MakeArgString("-" + Feature));
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  189     Features.push_back(Args.MakeArgString("+" + Ext));
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp
   36       return Args.MakeArgString(CPU);
  119               Args.MakeArgString((F.second ? "+" : "-") + F.first()));
tools/clang/lib/Driver/ToolChains/BareMetal.cpp
  159   CmdArgs.push_back(Args.MakeArgString("-lclang_rt.builtins-" +
  176   CmdArgs.push_back(Args.MakeArgString("-L" + TC.getRuntimesDir()));
  195                                           Args.MakeArgString(TC.GetLinkerPath()),
tools/clang/lib/Driver/ToolChains/Clang.cpp
  199     OutStrings.push_back(Args.MakeArgString(Out + "all"));
  211       OutStrings.push_back(Args.MakeArgString(Out + Val));
  276     Out = Args.MakeArgString(Out + Prefix + Val);
  278       Out = Args.MakeArgString(Out + ",");
  281   OutStrings.push_back(Args.MakeArgString(Out));
  301     CmdArgs.push_back(Args.MakeArgString("-mprefer-vector-width=" + Value));
  530     CmdArgs.push_back(Args.MakeArgString(*CWD));
  541       CmdArgs.push_back(Args.MakeArgString("-fdebug-prefix-map=" + Map));
  691       CmdArgs.push_back(Args.MakeArgString(Twine("-fprofile-instrument-path=") +
  697       CmdArgs.push_back(Args.MakeArgString("--dependent-lib=" +
  715       CmdArgs.push_back(Args.MakeArgString("--dependent-lib=" +
  724           Args.MakeArgString(Twine("-fprofile-instrument-path=") + Path));
  730       CmdArgs.push_back(Args.MakeArgString(
  741           Args.MakeArgString(Twine("-fprofile-instrument-use-path=") + Path));
  774         Args.MakeArgString(Twine("-fprofile-exclude-files=" + v)));
  785     CmdArgs.push_back(Args.MakeArgString(Twine("-fprofile-filter-files=" + v)));
  815     CmdArgs.push_back(Args.MakeArgString(CoverageFilename));
  824       CmdArgs.push_back(Args.MakeArgString(CoverageFilename));
  897         Args.MakeArgString("-dwarf-version=" + Twine(DwarfVersion)));
  945             Args.MakeArgString("--compress-debug-sections=" + Twine(Value)));
 1027         CmdArgs.push_back(Args.MakeArgString(Quoted));
 1046         DepTarget = Args.MakeArgString(llvm::sys::path::filename(P));
 1052       CmdArgs.push_back(Args.MakeArgString(Quoted));
 1092       CmdArgs.push_back(Args.MakeArgString(P));
 1110       CmdArgs.push_back(Args.MakeArgString("-building-pch-with-obj"));
 1116         CmdArgs.push_back(Args.MakeArgString(D.GetClPchPath(
 1123         CmdArgs.push_back(Args.MakeArgString(
 1127             Args.MakeArgString(Twine("-pch-through-header=") + ThroughHeader));
 1159           CmdArgs.push_back(Args.MakeArgString(P));
 1207       CmdArgs.push_back(C.getArgs().MakeArgString(sysroot));
 1561         Args.MakeArgString(Twine("-msign-return-address=") + Scope));
 1563         Args.MakeArgString(Twine("-msign-return-address-key=") + Key));
 1612     CmdArgs.push_back(Args.MakeArgString("-mips-ssection-threshold=" + v));
 1695         CmdArgs.push_back(Args.MakeArgString("-mips-compact-branches=" + Val));
 1840       CmdArgs.push_back(Args.MakeArgString("-x86-asm-syntax=" + Value));
 1865     CmdArgs.push_back(Args.MakeArgString("-hexagon-small-data-threshold=" +
 1885     CmdArgs.push_back(Args.MakeArgString(CPUName));
 2035         CmdArgs.push_back(Args.MakeArgString("-arm-implicit-it=" + Value));
 2365         Args.MakeArgString("-fdenormal-fp-math=" + DenormalFPMath));
 2368     CmdArgs.push_back(Args.MakeArgString("-ffp-contract=" + FPContract));
 2495     CmdArgs.push_back(Args.MakeArgString(Twine(StackProtectorLevel)));
 2505         CmdArgs.push_back(Args.MakeArgString(Str.drop_front(16)));
 2552         Args.MakeArgString("-ftrivial-auto-var-init=" + TrivialAutoVarInit));
 2574     CmdArgs.push_back(Args.MakeArgString(CLStdStr));
 2579       CmdArgs.push_back(Args.MakeArgString(A->getOption().getPrefixedName()));
 2681     CmdArgs.push_back(Args.MakeArgString("-fno-builtin-" + FuncName));
 2765     CmdArgs.push_back(Args.MakeArgString(Path));
 2771       CmdArgs.push_back(Args.MakeArgString(
 2797           Args.MakeArgString("-fmodule-map-file=" + BuiltinModuleMap));
 2815     C.addTempFile(Args.MakeArgString(VFSDir));
 2819     CmdArgs.push_back(Args.MakeArgString(VFSDir));
 2841         Args.MakeArgString("-fbuild-session-timestamp=" +
 3042     CmdArgs.push_back(Args.MakeArgString(Opt));
 3451   CmdArgs.push_back(Args.MakeArgString(TripleStr));
 3486           CmdArgs.push_back(Args.MakeArgString(
 3492     CmdArgs.push_back(Args.MakeArgString(NormalizedTriple));
 3502     CmdArgs.push_back(Args.MakeArgString(NormalizedTriple));
 3604           Args.MakeArgString(Twine("-interface-stub-version=") + ArgStr.str()));
 3830     CmdArgs.push_back(Args.MakeArgString(std::to_string(FunctionAlignment)));
 3877     CmdArgs.push_back(Args.MakeArgString(TC.getThreadModel()));
 3909     CmdArgs.push_back(Args.MakeArgString("-warn-stack-size=" + v));
 4107     CmdArgs.push_back(Args.MakeArgString(CPU));
 4412       CmdArgs.push_back(Args.MakeArgString("-Wlarge-by-value-copy=" + bytes));
 4479     CmdArgs.push_back(Args.MakeArgString(Twine(N)));
 4633     CmdArgs.push_back(Args.MakeArgString("-mspeculative-load-hardening"));
 4641     CmdArgs.push_back(Args.MakeArgString("-mstackrealign"));
 4645     CmdArgs.push_back(Args.MakeArgString("-mstack-alignment=" + alignment));
 4652       CmdArgs.push_back(Args.MakeArgString("-mstack-probe-size=" + Size));
 4659     CmdArgs.push_back(Args.MakeArgString("-mno-stack-arg-probe"));
 4687         Args.MakeArgString(Twine("-fcf-protection=") + A->getValue()));
 4816         Args.MakeArgString("-fgnuc-version=" + GNUCVer.getAsString()));
 4822         Args.MakeArgString("-fms-compatibility-version=" + MSVT.getAsString()));
 4981         Args.MakeArgString(Twine("-fnew-alignment=") + A->getValue()));
 5001     CmdArgs.push_back(Args.MakeArgString(PackStructStr));
 5013       CmdArgs.push_back(Args.MakeArgString(MaxTypeAlignStr));
 5018       CmdArgs.push_back(Args.MakeArgString(MaxTypeAlignStr));
 5163       CmdArgs.push_back(Args.MakeArgString(F));
 5208     CmdArgs.push_back(Args.MakeArgString(A->getValue()));
 5229         Args.MakeArgString(Twine("-fpass-plugin=") + A->getValue()));
 5236     CmdArgs.push_back(Args.MakeArgString(Twine("-stats-file=") + StatsFile));
 5311     auto FlagsArgString = Args.MakeArgString(Flags);
 5349       CmdArgs.push_back(Args.MakeArgString(OpenMPDeviceInput->getFilename()));
 5369     CmdArgs.push_back(Args.MakeArgString(TargetInfo.str()));
 5506     CmdArgs.push_back(Args.MakeArgString(Str));
 5716       args.MakeArgString("-fobjc-runtime=" + runtime.getAsString()));
 5850     CmdArgs.push_back(Args.MakeArgString(Twine(LangOptions::SSPStrong)));
 6003   return Args.MakeArgString(llvm::sys::path::filename(Input.getBaseInput()));
 6011     return Args.MakeArgString(std::string(Str, End));
 6023     return Args.MakeArgString(OutputFilename);
 6026   return Args.MakeArgString(Twine(getBaseInputStem(Args, Inputs)) + ".d");
 6048       CmdArgs.push_back(Args.MakeArgString("-x86-asm-syntax=" + Value));
 6092   CmdArgs.push_back(Args.MakeArgString(TripleStr));
 6108     CmdArgs.push_back(Args.MakeArgString(CPU));
 6159     CmdArgs.push_back(Args.MakeArgString(getClangFullVersion()));
 6200     CmdArgs.push_back(Args.MakeArgString(Flags));
 6291   CmdArgs.push_back(TCArgs.MakeArgString(
 6325   CmdArgs.push_back(TCArgs.MakeArgString(Triples));
 6329       TCArgs.MakeArgString(Twine("-outputs=") + Output.getFilename()));
 6349   CmdArgs.push_back(TCArgs.MakeArgString(UB));
 6354       TCArgs.MakeArgString(getToolChain().GetProgramPath(getShortName())),
 6378   CmdArgs.push_back(TCArgs.MakeArgString(
 6400   CmdArgs.push_back(TCArgs.MakeArgString(Triples));
 6404       TCArgs.MakeArgString(Twine("-inputs=") + Input.getFilename()));
 6414   CmdArgs.push_back(TCArgs.MakeArgString(UB));
 6420       TCArgs.MakeArgString(getToolChain().GetProgramPath(getShortName())),
 6435   CmdArgs.push_back(Args.MakeArgString(Triple.getTriple()));
 6450       Args.MakeArgString(getToolChain().GetProgramPath(getShortName())),
tools/clang/lib/Driver/ToolChains/CloudABI.cpp
   43     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
   66     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
   67     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o")));
   92     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
   94   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
   85     Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name));
  109         CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + "."));
  117             Args.MakeArgString(std::string(ArgName) + Dirs.substr(0, Delim)));
  120         CmdArgs.push_back(Args.MakeArgString(Dirs.substr(0, Delim)));
  128       CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + "."));
  135       CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs));
  138       CmdArgs.push_back(Args.MakeArgString(Dirs));
  202       Features.push_back(Args.MakeArgString("+" + FeatureName));
  204       Features.push_back(Args.MakeArgString("-" + FeatureName));
  380   CmdArgs.push_back(Args.MakeArgString(Plugin));
  388     CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=mcpu=") + CPU));
  400       CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=O") + OOpt));
  405         Args.MakeArgString(Twine("-plugin-opt=dwo_dir=") +
  414         Args.MakeArgString("-plugin-opt=jobs=" + Twine(Parallelism)));
  446           Args.MakeArgString(Twine("-plugin-opt=sample-profile=") + FName));
  459     CmdArgs.push_back(Args.MakeArgString("-plugin-opt=cs-profile-generate"));
  465           Args.MakeArgString(Twine("-plugin-opt=cs-profile-path=") + Path));
  468           Args.MakeArgString("-plugin-opt=cs-profile-path=default_%m.profraw"));
  474     CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=cs-profile-path=") +
  490         Args.MakeArgString(Twine("-plugin-opt=stats-file=") + StatsFile));
  498         Args.MakeArgString(Twine("-plugin-opt=-target-abi=") + ABIName));
  510     CmdArgs.push_back(Args.MakeArgString(CandidateRPath.c_str()));
  589     CmdArgs.push_back(Args.MakeArgString("--dynamic-list=" + SanRT + ".syms"));
  757     CmdArgs.push_back(Args.MakeArgString(S));
  811       return Args.MakeArgString(Output.getFilename());
  817     return Args.MakeArgString(T);
  825     return Args.MakeArgString(F);
  844       Args.MakeArgString(TC.GetProgramPath(CLANG_DEFAULT_OBJCOPY));
 1290     LKS = C.getArgs().MakeArgString(Name + ".lk");
 1293     LKS = C.addTempFile(C.getArgs().MakeArgString(TmpName));
 1313     BundleFile = C.getArgs().MakeArgString(Name + ".hipfb");
 1316     BundleFile = C.addTempFile(C.getArgs().MakeArgString(TmpName));
 1486           Args.MakeArgString(Twine("-plugin-opt=-mattr=") + Name));
tools/clang/lib/Driver/ToolChains/CrossWindows.cpp
   58   Exec = Args.MakeArgString(Assembler);
   84     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  136     CmdArgs.push_back(Args.MakeArgString(EntryPoint));
  145       CmdArgs.push_back(Args.MakeArgString(EntryPoint));
  162     CmdArgs.push_back(Args.MakeArgString(ImpLib));
  196       CmdArgs.push_back(Args.MakeArgString("--undefined"));
  197       CmdArgs.push_back(Args.MakeArgString(TC.getArch() == llvm::Triple::x86
  203   Exec = Args.MakeArgString(TC.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  241     CC1Args.push_back(DriverArgs.MakeArgString(P));
  253   CC1Args.push_back(DriverArgs.MakeArgString(getIncludePath()));
  384     CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt));
  398   CmdArgs.push_back(Args.MakeArgString(CudaArchToString(gpu_arch)));
  400   CmdArgs.push_back(Args.MakeArgString(TC.getInputFilename(Output)));
  402     CmdArgs.push_back(Args.MakeArgString(II.getFilename()));
  405     CmdArgs.push_back(Args.MakeArgString(A));
  424     Exec = Args.MakeArgString(TC.GetProgramPath("ptxas"));
  460   CmdArgs.push_back(Args.MakeArgString("--create"));
  461   CmdArgs.push_back(Args.MakeArgString(Output.getFilename()));
  483     CmdArgs.push_back(Args.MakeArgString(llvm::Twine("--image=profile=") +
  488     CmdArgs.push_back(Args.MakeArgString(A));
  490   const char *Exec = Args.MakeArgString(TC.GetProgramPath("fatbinary"));
  526   CmdArgs.push_back(Args.MakeArgString(GPUArch));
  531     CmdArgs.push_back(Args.MakeArgString(Twine("-L") + A->getValue()));
  540   CmdArgs.push_back(Args.MakeArgString(Twine("-L") + DefaultLibPath));
  561         C.getArgs().MakeArgString(getToolChain().getInputFilename(II)));
  567       Args.MakeArgString(getToolChain().GetProgramPath("nvlink"));
  644   CC1Args.push_back(DriverArgs.MakeArgString(LibDeviceFile));
  675     CC1Args.push_back(DriverArgs.MakeArgString(
  709         CC1Args.push_back(DriverArgs.MakeArgString(LibOmpTargetFile));
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  148   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
  160   CmdArgs.push_back(Args.MakeArgString(ArchName));
  240       auto *TmpPath = C.getArgs().MakeArgString(TmpPathName);
  261     CmdArgs.push_back(C.getArgs().MakeArgString(LibLTOPath));
  390     CmdArgs.push_back(C.getArgs().MakeArgString(sysroot));
  452         Args.MakeArgString(getToolChain().GetProgramPath("touch"));
  480     CmdArgs.push_back(Args.MakeArgString(F));
  491         CmdArgs.push_back(Args.MakeArgString(Opt));
  500       CmdArgs.push_back(Args.MakeArgString(Passes));
  508       CmdArgs.push_back(Args.MakeArgString(Format));
  538     CmdArgs.push_back(Args.MakeArgString("-lto-stats-file=" + StatsFile.str()));
  607     CmdArgs.push_back(Args.MakeArgString("-threads=" + Twine(Parallelism)));
  643     CmdArgs.push_back(Args.MakeArgString(std::string("-F") + A->getValue()));
  654   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());
  679   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("lipo"));
  699       Args.MakeArgString(getToolChain().GetProgramPath("dsymutil"));
  722       Args.MakeArgString(getToolChain().GetProgramPath("dwarfdump"));
  986   CmdArgs.push_back(Args.MakeArgString(P));
 1022     const char *LibArg = Args.MakeArgString(P);
 1044     CmdArgs.push_back(Args.MakeArgString(Dir));
 2022           CmdArgs.push_back(Args.MakeArgString(P));
 2066     CmdArgs.push_back(Args.MakeArgString(P));
 2334     CC1Args.push_back(DriverArgs.MakeArgString(OS.str()));
 2478   CmdArgs.push_back(Args.MakeArgString(TargetVersion.getAsString()));
 2573     const char *Str = Args.MakeArgString(GetFilePath("crt3.o"));
tools/clang/lib/Driver/ToolChains/DragonFly.cpp
   47   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
   60     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
   96             Args.MakeArgString(getToolChain().GetFilePath("gcrt1.o")));
  100               Args.MakeArgString(getToolChain().GetFilePath("Scrt1.o")));
  103               Args.MakeArgString(getToolChain().GetFilePath("crt1.o")));
  106     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o")));
  109           Args.MakeArgString(getToolChain().GetFilePath("crtbeginS.o")));
  112           Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
  162           Args.MakeArgString(getToolChain().GetFilePath("crtendS.o")));
  165           Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
  166     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o")));
  171   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
   66       CmdArgs.push_back(Args.MakeArgString("-G" + v));
  114   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
  141     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  215       CmdArgs.push_back(Args.MakeArgString("-G" + v));
  238       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1)));
  240     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
  250     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin)));
  337       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtendS.o")));
  339       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  340     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  345   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
   49   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
   59     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
   92     CmdArgs.push_back(Args.MakeArgString(Dyld));
  100       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("Scrt1.o")));
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  107         Args.MakeArgString(getToolChain().getDefaultUniversalArchName()));
  191   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath(GCCName));
  376     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  452       CmdArgs.push_back(Args.MakeArgString(Loader));
  473         CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1)));
  475       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
  479       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
  501       CmdArgs.push_back(Args.MakeArgString(P));
  619         CmdArgs.push_back(Args.MakeArgString(P));
  622         CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  630   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
  659             Args.MakeArgString("--compress-debug-sections=" + Twine(Value)));
  756       CmdArgs.push_back(Args.MakeArgString("-mfloat-abi=soft"));
  759       CmdArgs.push_back(Args.MakeArgString("-mfloat-abi=softfp"));
  762       CmdArgs.push_back(Args.MakeArgString("-mfloat-abi=hard"));
  813         CmdArgs.push_back(Args.MakeArgString("-mnan=2008"));
  849         CmdArgs.push_back(Args.MakeArgString("-mmsa"));
  868     CmdArgs.push_back(Args.MakeArgString("-march=" + CPUName));
  882   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
tools/clang/lib/Driver/ToolChains/HIP.cpp
   44       CmdArgs.push_back(Args.MakeArgString(FullName));
   57         C.getArgs().MakeArgString(Base.str() + Postfix + "." + Extension);
   61     OutputFileName = C.addTempFile(C.getArgs().MakeArgString(TmpName));
   82   const char *Exec = Args.MakeArgString(ExecPath);
  113     OptArgs.push_back(Args.MakeArgString("-O" + OOpt));
  116   OptArgs.push_back(Args.MakeArgString("-mcpu=" + SubArchName));
  128   const char *OptExec = Args.MakeArgString(OptPath);
  141       Args.MakeArgString(Twine("-filetype=") + (OutputIsAsm ? "asm" : "obj")),
  142       Args.MakeArgString("-mcpu=" + SubArchName)};
  152     MAttrString.append(Args.MakeArgString(OneFeature));
  157     LlcArgs.push_back(Args.MakeArgString(MAttrString));
  170   const char *Llc = Args.MakeArgString(LlcPath);
  186   const char *Lld = Args.MakeArgString(LldPath);
  198   BundlerArgs.push_back(Args.MakeArgString("-type=o"));
  211   BundlerArgs.push_back(Args.MakeArgString(BundlerTargetArg));
  212   BundlerArgs.push_back(Args.MakeArgString(BundlerInputArg));
  215       Args.MakeArgString(std::string("-outputs=").append(OutputFileName));
  220   const char *Bundler = Args.MakeArgString(BundlerPath);
  316     LibraryPaths.push_back(DriverArgs.MakeArgString(Path));
  324     BCLibs.push_back(DriverArgs.MakeArgString(Lib));
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
   68       HVXFeature = Args.MakeArgString(llvm::Twine("+hvx") + HVXFeature.lower());
   71       HVXFeature = Args.MakeArgString(llvm::Twine("+hvx") + Cpu);
   90         Args.MakeArgString(llvm::Twine("+hvx-length") + HVXLength.lower());
  139   CmdArgs.push_back(Args.MakeArgString(
  152     CmdArgs.push_back(Args.MakeArgString("-gpsize=" + Twine(G.getValue())));
  185   auto *Exec = Args.MakeArgString(HTC.GetProgramPath(AsName));
  237   CmdArgs.push_back(Args.MakeArgString("-mcpu=hexagon" + CpuVer));
  252     CmdArgs.push_back(Args.MakeArgString("-G" + Twine(G.getValue())));
  301         CmdArgs.push_back(Args.MakeArgString(Crt0SA));
  304       CmdArgs.push_back(Args.MakeArgString(Crt0));
  309     CmdArgs.push_back(Args.MakeArgString(Init));
  317     CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath));
  342         CmdArgs.push_back(Args.MakeArgString("-l" + Lib));
  357     CmdArgs.push_back(Args.MakeArgString(Fini));
  372   const char *Exec = Args.MakeArgString(HTC.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/InterfaceStubs.cpp
   31   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Merger),
tools/clang/lib/Driver/ToolChains/Linux.cpp
  971     CC1Args.push_back(DriverArgs.MakeArgString(
 1043     CmdArgs.push_back(Args.MakeArgString(
tools/clang/lib/Driver/ToolChains/MSP430.cpp
  172     CC1Args.push_back(DriverArgs.MakeArgString(
  175     CC1Args.push_back(DriverArgs.MakeArgString("-D__" + MCU.upper() + "__"));
  194     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  202           Args.MakeArgString("-T" + StringRef(MCUArg->getValue()) + ".ld"));
  208     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
  209     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o")));
  215   CmdArgs.push_back(Args.MakeArgString(getHWMultLib(Args)));
  225     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  226     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  230   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  318         Args.MakeArgString(std::string("-out:") + Output.getFilename()));
  329     CmdArgs.push_back(Args.MakeArgString(
  334     CmdArgs.push_back(Args.MakeArgString(
  343             Args.MakeArgString(Twine("-libpath:") + UniversalCRTLibPath));
  349           Args.MakeArgString(std::string("-libpath:") + WindowsSdkLibPath));
  354       CmdArgs.push_back(Args.MakeArgString("-libpath:" + LibPath));
  374     CmdArgs.push_back(Args.MakeArgString("-dll"));
  378     CmdArgs.push_back(Args.MakeArgString(std::string("-implib:") + ImplibName));
  384           Args.MakeArgString(std::string("-wholearchive:") +
  386     CmdArgs.push_back(Args.MakeArgString("-debug"));
  389     CmdArgs.push_back(Args.MakeArgString("-incremental:no"));
  393     CmdArgs.push_back(Args.MakeArgString("-debug"));
  394     CmdArgs.push_back(Args.MakeArgString("-incremental:no"));
  401       CmdArgs.push_back(Args.MakeArgString(
  407       CmdArgs.push_back(Args.MakeArgString(std::string("-wholearchive:") +
  417         CmdArgs.push_back(Args.MakeArgString(std::string("-wholearchive:") +
  440     CmdArgs.push_back(Args.MakeArgString(std::string("-libpath:") +
  477         LinkLibArg = Args.MakeArgString(Lib);
  479         LinkLibArg = Args.MakeArgString(Lib + ".lib");
  585       JA, *this, Args.MakeArgString(linkPath), CmdArgs, Inputs);
  670     CmdArgs.push_back(Args.MakeArgString(std::string("/FI") + Include));
  721       Args.MakeArgString(std::string("/Fo") + Output.getFilename());
  725   return std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
tools/clang/lib/Driver/ToolChains/MinGW.cpp
   51   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
  112     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  175       CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("dllcrt2.o")));
  178         CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crt2u.o")));
  180         CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crt2.o")));
  183       CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("gcrt2.o")));
  184     CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtbegin.o")));
  293       CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtend.o")));
  296   const char *Exec = Args.MakeArgString(TC.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/Minix.cpp
   38   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
   58     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crt1.o")));
   59     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o")));
   61         Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
   62     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o")));
   87         Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
   90   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());
tools/clang/lib/Driver/ToolChains/Myriad.cpp
   70       CmdArgs.push_back(Args.MakeArgString(A->getValue()));
   79       Args.MakeArgString(getToolChain().GetProgramPath("moviCompile"));
   80   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
  100         Args.MakeArgString("-cv:" + StringRef(CPUArg->getValue())));
  107         Args.MakeArgString(std::string("-i:") + A->getValue(0)));
  111       Args.MakeArgString(std::string("-o:") + Output.getFilename()));
  114       Args.MakeArgString(getToolChain().GetProgramPath("moviAsm"));
  115   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
  158     CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crti.o")));
  159     CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtbegin.o")));
  195     CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtend.o")));
  196     CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtn.o")));
  200       Args.MakeArgString(TC.GetProgramPath("sparc-myriad-rtems-ld"));
  201   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
tools/clang/lib/Driver/ToolChains/NaCl.cpp
   73     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  110       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt1.o")));
  111     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
  120     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin)));
  190       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend)));
  191       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  195   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/NetBSD.cpp
   49     CmdArgs.push_back(Args.MakeArgString("-mcpu=" + Arch));
  105   const char *Exec = Args.MakeArgString((getToolChain().GetProgramPath("as")));
  120     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  234           Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
  237         Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
  240           Args.MakeArgString(ToolChain.GetFilePath("crtbeginS.o")));
  243           Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o")));
  262     CmdArgs.push_back(Args.MakeArgString(
  330           Args.MakeArgString(ToolChain.GetFilePath("crtendS.o")));
  333           Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  334     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  339   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/OpenBSD.cpp
   91   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
  167       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt0)));
  168     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin)));
  226     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend)));
  229   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp
   64       Args.MakeArgString(getToolChain().GetProgramPath("orbis-as"));
  106     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  142   const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("orbis-ld"));
  166     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  207       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1)));
  209     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
  219     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin)));
  309       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtendS.o")));
  311       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  312     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  319       Args.MakeArgString(ToolChain.GetProgramPath("orbis-ld"));
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
  100     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  114     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
  115     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o")));
  140     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  144   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/Solaris.cpp
   43   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("as"));
   87           Args.MakeArgString(getToolChain().GetFilePath("crt1.o")));
   89     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o")));
  104     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath(values_X)));
  111         Args.MakeArgString(getToolChain().GetFilePath(values_xpg)));
  113         Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
  146         Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
  148   CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o")));
  152   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
   61   const char *Linker = Args.MakeArgString(getLinkerPath(Args));
   72     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt1.o")));
tools/clang/lib/Driver/ToolChains/XCore.cpp
   54   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("xcc"));
   82   const char *Exec = Args.MakeArgString(getToolChain().GetProgramPath("xcc"));
tools/clang/lib/Driver/XRayArgs.cpp
  194   CmdArgs.push_back(Args.MakeArgString(Twine(XRayInstructionThresholdOption) +
  200     CmdArgs.push_back(Args.MakeArgString(AlwaysInstrumentOpt));
  206     CmdArgs.push_back(Args.MakeArgString(NeverInstrumentOpt));
  212     CmdArgs.push_back(Args.MakeArgString(AttrListFileOpt));
  218     CmdArgs.push_back(Args.MakeArgString(ExtraDepOpt));
  224     CmdArgs.push_back(Args.MakeArgString(ModeOpt));
  240   CmdArgs.push_back(Args.MakeArgString(Bundle));