reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
194 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); 196 Args.AddAllArgs(CmdArgs, options::OPT_L); 197 ToolChain.AddFilePathLibArgs(Args, CmdArgs); 199 if (!Args.hasArg(options::OPT_T)) { 200 if (const Arg *MCUArg = Args.getLastArg(options::OPT_mmcu_EQ)) 202 Args.MakeArgString("-T" + StringRef(MCUArg->getValue()) + ".ld")); 204 Args.AddAllArgs(CmdArgs, options::OPT_T); 207 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { 208 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o"))); 209 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o"))); 212 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); 215 CmdArgs.push_back(Args.MakeArgString(getHWMultLib(Args))); 215 CmdArgs.push_back(Args.MakeArgString(getHWMultLib(Args))); 217 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { 224 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { 225 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o"))); 226 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); 230 C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),