reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
52 CmdArgs.push_back("-z"); 53 CmdArgs.push_back("rodynamic"); 54 CmdArgs.push_back("-z"); 55 CmdArgs.push_back("separate-loadable-segments"); 59 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); 62 CmdArgs.push_back("-pie"); 65 CmdArgs.push_back("-export-dynamic"); 68 CmdArgs.push_back("-s"); 71 CmdArgs.push_back("-r"); 73 CmdArgs.push_back("--build-id"); 74 CmdArgs.push_back("--hash-style=gnu"); 77 CmdArgs.push_back("--eh-frame-hdr"); 80 CmdArgs.push_back("-Bstatic"); 82 CmdArgs.push_back("-shared"); 91 CmdArgs.push_back("-dynamic-linker"); 92 CmdArgs.push_back(Args.MakeArgString(Dyld)); 95 CmdArgs.push_back("-o"); 96 CmdArgs.push_back(Output.getFilename()); 100 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("Scrt1.o"))); 104 Args.AddAllArgs(CmdArgs, options::OPT_L); 105 Args.AddAllArgs(CmdArgs, options::OPT_u); 107 ToolChain.AddFilePathLibArgs(Args, CmdArgs); 111 AddGoldPlugin(ToolChain, Args, CmdArgs, Output, Inputs[0], 115 bool NeedsSanitizerDeps = addSanitizerRuntimes(ToolChain, Args, CmdArgs); 116 bool NeedsXRayDeps = addXRayRuntime(ToolChain, Args, CmdArgs); 117 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); 118 ToolChain.addProfileRTLibs(Args, CmdArgs); 122 CmdArgs.push_back("-Bdynamic"); 128 CmdArgs.push_back("--push-state"); 129 CmdArgs.push_back("--as-needed"); 131 CmdArgs.push_back("-Bstatic"); 132 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); 134 CmdArgs.push_back("-Bdynamic"); 135 CmdArgs.push_back("-lm"); 136 CmdArgs.push_back("--pop-state"); 141 linkSanitizerRuntimeDeps(ToolChain, CmdArgs); 144 linkXRayRuntimeDeps(ToolChain, CmdArgs); 146 AddRunTimeLibs(ToolChain, D, CmdArgs, Args); 150 CmdArgs.push_back("-lpthread"); 153 CmdArgs.push_back("--wrap=pthread_create"); 156 CmdArgs.push_back("-lc"); 159 C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));