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

References

tools/clang/lib/Driver/ToolChains/Solaris.cpp
   57   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_shared)) {
   62   if (Args.hasArg(options::OPT_static)) {
   67     if (Args.hasArg(options::OPT_shared)) {
   73     Args.ClaimAllArgs(options::OPT_pthread);
   74     Args.ClaimAllArgs(options::OPT_pthreads);
   84   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) {
   85     if (!Args.hasArg(options::OPT_shared))
   87           Args.MakeArgString(getToolChain().GetFilePath("crt1.o")));
   89     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o")));
   91     const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
  104     CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath(values_X)));
  111         Args.MakeArgString(getToolChain().GetFilePath(values_xpg)));
  113         Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
  116   getToolChain().AddFilePathLibArgs(Args, CmdArgs);
  118   Args.AddAllArgs(CmdArgs, {options::OPT_L, options::OPT_T_Group,
  121   bool NeedsSanitizerDeps = addSanitizerRuntimes(getToolChain(), Args, CmdArgs);
  122   AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
  124   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
  125     if (getToolChain().ShouldLinkCXXStdlib(Args))
  126       getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
  127     if (Args.hasArg(options::OPT_fstack_protector) ||
  128         Args.hasArg(options::OPT_fstack_protector_strong) ||
  129         Args.hasArg(options::OPT_fstack_protector_all)) {
  136     if (!Args.hasArg(options::OPT_shared)) {
  144   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) {
  146         Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
  148   CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o")));
  150   getToolChain().addProfileRTLibs(Args, CmdArgs);
  152   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());