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

References

tools/clang/lib/Driver/ToolChains/NetBSD.cpp
  120     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
  123   if (Args.hasArg(options::OPT_static)) {
  125     if (Args.hasArg(options::OPT_pie)) {
  126       Args.AddAllArgs(CmdArgs, options::OPT_pie);
  130     if (Args.hasArg(options::OPT_rdynamic))
  132     if (Args.hasArg(options::OPT_shared)) {
  135       Args.AddAllArgs(CmdArgs, options::OPT_pie);
  167     arm::appendBE8LinkFlag(Args, CmdArgs, ToolChain.getEffectiveTriple());
  185     if (mips::hasMipsAbiArg(Args, "32")) {
  191     } else if (mips::hasMipsAbiArg(Args, "64")) {
  231   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) {
  232     if (!Args.hasArg(options::OPT_shared)) {
  234           Args.MakeArgString(ToolChain.GetFilePath("crt0.o")));
  237         Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
  238     if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) {
  238     if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) {
  240           Args.MakeArgString(ToolChain.GetFilePath("crtbeginS.o")));
  243           Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o")));
  247   Args.AddAllArgs(CmdArgs, options::OPT_L);
  248   Args.AddAllArgs(CmdArgs, options::OPT_T_Group);
  249   Args.AddAllArgs(CmdArgs, options::OPT_e);
  250   Args.AddAllArgs(CmdArgs, options::OPT_s);
  251   Args.AddAllArgs(CmdArgs, options::OPT_t);
  252   Args.AddAllArgs(CmdArgs, options::OPT_Z_Flag);
  253   Args.AddAllArgs(CmdArgs, options::OPT_r);
  255   bool NeedsSanitizerDeps = addSanitizerRuntimes(getToolChain(), Args, CmdArgs);
  256   bool NeedsXRayDeps = addXRayRuntime(ToolChain, Args, CmdArgs);
  257   AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
  262     CmdArgs.push_back(Args.MakeArgString(
  291   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
  293     bool StaticOpenMP = Args.hasArg(options::OPT_static_openmp) &&
  294                         !Args.hasArg(options::OPT_static);
  295     addOpenMPRuntime(CmdArgs, getToolChain(), Args, StaticOpenMP);
  298       if (ToolChain.ShouldLinkCXXStdlib(Args))
  299         ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
  306     if (Args.hasArg(options::OPT_pthread))
  311       if (Args.hasArg(options::OPT_static)) {
  327   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) {
  328     if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie))
  328     if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie))
  330           Args.MakeArgString(ToolChain.GetFilePath("crtendS.o")));
  333           Args.MakeArgString(ToolChain.GetFilePath("crtend.o")));
  334     CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o")));
  337   ToolChain.addProfileRTLibs(Args, CmdArgs);
  339   const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());