Lines Matching defs:ToolChain
1 //===--- OpenBSD.cpp - OpenBSD ToolChain Implementations --------*- C++ -*-===//
33 const auto &ToolChain = static_cast<const OpenBSD &>(getToolChain());
34 const Driver &D = ToolChain.getDriver();
35 const llvm::Triple &Triple = ToolChain.getTriple();
40 switch (ToolChain.getArch()) {
64 AddAssemblerKPIC(ToolChain, Args, CmdArgs);
85 AddAssemblerKPIC(ToolChain, Args, CmdArgs);
101 const char *Exec = Args.MakeArgString(ToolChain.GetProgramPath("as"));
112 const auto &ToolChain = static_cast<const OpenBSD &>(getToolChain());
113 const Driver &D = ToolChain.getDriver();
114 const llvm::Triple &Triple = ToolChain.getTriple();
115 const llvm::Triple::ArchType Arch = ToolChain.getArch();
193 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt0)));
194 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin)));
198 ToolChain.AddFilePathLibArgs(Args, CmdArgs);
212 addLTOOptions(ToolChain, Args, CmdArgs, Output, *Input,
216 bool NeedsSanitizerDeps = addSanitizerRuntimes(ToolChain, Args, CmdArgs);
217 bool NeedsXRayDeps = addXRayRuntime(ToolChain, Args, CmdArgs);
218 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
224 addOpenMPRuntime(C, CmdArgs, ToolChain, Args, StaticOpenMP);
227 if (ToolChain.ShouldLinkCXXStdlib(Args))
228 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
244 addFortranRuntimeLibraryPath(ToolChain, Args, CmdArgs);
245 addFortranRuntimeLibs(ToolChain, Args, CmdArgs);
253 CmdArgs.push_back(ToolChain.getCompilerRTArgString(Args, "builtins"));
254 linkSanitizerRuntimeDeps(ToolChain, Args, CmdArgs);
257 CmdArgs.push_back(ToolChain.getCompilerRTArgString(Args, "builtins"));
258 linkXRayRuntimeDeps(ToolChain, Args, CmdArgs);
289 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend)));
292 ToolChain.addProfileRTLibs(Args, CmdArgs);
294 const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
303 SanitizerMask Res = ToolChain::getSupportedSanitizers();
389 return ToolChain::getCompilerRT(Args, Component, Type);
400 ToolChain::UnwindTableLevel