reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
60 !Args.hasArg(options::OPT_dynamic) && !Args.hasArg(options::OPT_shared); 60 !Args.hasArg(options::OPT_dynamic) && !Args.hasArg(options::OPT_shared); 65 Args.ClaimAllArgs(options::OPT_g_Group); 67 Args.ClaimAllArgs(options::OPT_emit_llvm); 70 Args.ClaimAllArgs(options::OPT_w); 73 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); 75 if (Args.hasArg(options::OPT_rdynamic)) 78 if (Args.hasArg(options::OPT_s)) 103 else if (Args.hasArg(options::OPT_shared)) 108 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { 109 if (!Args.hasArg(options::OPT_shared)) 110 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt1.o"))); 111 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); 116 else if (Args.hasArg(options::OPT_shared)) 120 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); 123 Args.AddAllArgs(CmdArgs, options::OPT_L); 124 Args.AddAllArgs(CmdArgs, options::OPT_u); 126 ToolChain.AddFilePathLibArgs(Args, CmdArgs); 128 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) 131 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); 134 !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { 135 if (ToolChain.ShouldLinkCXXStdlib(Args)) { 137 Args.hasArg(options::OPT_static_libstdcxx) && !IsStatic; 140 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); 147 if (!Args.hasArg(options::OPT_nostdlib)) { 148 if (!Args.hasArg(options::OPT_nodefaultlibs)) { 154 if (Args.hasArg(options::OPT_pthread) || 155 Args.hasArg(options::OPT_pthreads) || D.CCCIsCXX()) { 183 if (!Args.hasArg(options::OPT_nostartfiles)) { 185 if (Args.hasArg(options::OPT_shared)) 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());