Lines Matching refs:ToolChain
28 ToolChain::path_list &Paths) { in addMultilibsFilePaths()
62 ToolChain::path_list &PPaths = getProgramPaths(); in RISCVToolChain()
79 ToolChain::RuntimeLibType RISCVToolChain::GetDefaultRuntimeLibType() const { in GetDefaultRuntimeLibType()
81 ToolChain::RLT_Libgcc : ToolChain::RLT_CompilerRT; in GetDefaultRuntimeLibType()
84 ToolChain::UnwindLibType
86 return ToolChain::UNW_None; in GetUnwindLibType()
89 ToolChain::UnwindTableLevel RISCVToolChain::getDefaultUnwindTableLevel( in getDefaultUnwindTableLevel()
157 const ToolChain &ToolChain = getToolChain(); in ConstructJob() local
158 const Driver &D = ToolChain.getDriver(); in ConstructJob()
167 bool IsRV64 = ToolChain.getArch() == llvm::Triple::riscv64; in ConstructJob()
182 auto RuntimeLib = ToolChain.GetRuntimeLibType(Args); in ConstructJob()
183 if (RuntimeLib == ToolChain::RLT_Libgcc) { in ConstructJob()
187 assert (RuntimeLib == ToolChain::RLT_CompilerRT); in ConstructJob()
188 crtbegin = ToolChain.getCompilerRTArgString(Args, "crtbegin", in ConstructJob()
189 ToolChain::FT_Object); in ConstructJob()
190 crtend = ToolChain.getCompilerRTArgString(Args, "crtend", in ConstructJob()
191 ToolChain::FT_Object); in ConstructJob()
195 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o"))); in ConstructJob()
196 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
199 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
203 ToolChain.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob()
212 if (ToolChain.ShouldLinkCXXStdlib(Args)) in ConstructJob()
213 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
220 AddRunTimeLibs(ToolChain, ToolChain.getDriver(), CmdArgs, Args); in ConstructJob()
224 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend))); in ConstructJob()