reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
120 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); 122 CmdArgs.push_back("--eh-frame-hdr"); 124 CmdArgs.push_back("-Bstatic"); 126 Args.AddAllArgs(CmdArgs, options::OPT_pie); 127 CmdArgs.push_back("--no-dynamic-linker"); 131 CmdArgs.push_back("-export-dynamic"); 133 CmdArgs.push_back("-Bshareable"); 135 Args.AddAllArgs(CmdArgs, options::OPT_pie); 136 CmdArgs.push_back("-dynamic-linker"); 137 CmdArgs.push_back("/libexec/ld.elf_so"); 145 CmdArgs.push_back("-m"); 146 CmdArgs.push_back("elf_i386"); 150 CmdArgs.push_back("-m"); 154 CmdArgs.push_back("armelf_nbsd_eabi"); 158 CmdArgs.push_back("armelf_nbsd_eabihf"); 161 CmdArgs.push_back("armelf_nbsd"); 167 arm::appendBE8LinkFlag(Args, CmdArgs, ToolChain.getEffectiveTriple()); 168 CmdArgs.push_back("-m"); 172 CmdArgs.push_back("armelfb_nbsd_eabi"); 176 CmdArgs.push_back("armelfb_nbsd_eabihf"); 179 CmdArgs.push_back("armelfb_nbsd"); 186 CmdArgs.push_back("-m"); 188 CmdArgs.push_back("elf32btsmip"); 190 CmdArgs.push_back("elf32ltsmip"); 192 CmdArgs.push_back("-m"); 194 CmdArgs.push_back("elf64btsmip"); 196 CmdArgs.push_back("elf64ltsmip"); 200 CmdArgs.push_back("-m"); 201 CmdArgs.push_back("elf32ppc_nbsd"); 206 CmdArgs.push_back("-m"); 207 CmdArgs.push_back("elf64ppc"); 211 CmdArgs.push_back("-m"); 212 CmdArgs.push_back("elf32_sparc"); 216 CmdArgs.push_back("-m"); 217 CmdArgs.push_back("elf64_sparc"); 225 CmdArgs.push_back("-o"); 226 CmdArgs.push_back(Output.getFilename()); 233 CmdArgs.push_back( 236 CmdArgs.push_back( 239 CmdArgs.push_back( 242 CmdArgs.push_back( 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); 261 CmdArgs.push_back("-rpath"); 262 CmdArgs.push_back(Args.MakeArgString( 295 addOpenMPRuntime(CmdArgs, getToolChain(), Args, StaticOpenMP); 299 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); 300 CmdArgs.push_back("-lm"); 303 linkSanitizerRuntimeDeps(getToolChain(), CmdArgs); 305 linkXRayRuntimeDeps(ToolChain, CmdArgs); 307 CmdArgs.push_back("-lpthread"); 308 CmdArgs.push_back("-lc"); 315 CmdArgs.push_back("-lgcc_eh"); 316 CmdArgs.push_back("-lc"); 317 CmdArgs.push_back("-lgcc"); 319 CmdArgs.push_back("-lgcc"); 320 CmdArgs.push_back("--as-needed"); 321 CmdArgs.push_back("-lgcc_s"); 322 CmdArgs.push_back("--no-as-needed"); 329 CmdArgs.push_back( 332 CmdArgs.push_back( 334 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); 337 ToolChain.addProfileRTLibs(Args, CmdArgs); 340 C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));