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);
243 addFortranRuntimeLibraryPath(ToolChain, Args, CmdArgs);
244 addFortranRuntimeLibs(ToolChain, Args, CmdArgs);
252 CmdArgs.push_back(ToolChain.getCompilerRTArgString(Args, "builtins"));
253 linkSanitizerRuntimeDeps(ToolChain, Args, CmdArgs);
256 CmdArgs.push_back(ToolChain.getCompilerRTArgString(Args, "builtins"));
257 linkXRayRuntimeDeps(ToolChain, Args, CmdArgs);
288 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend)));
291 ToolChain.addProfileRTLibs(Args, CmdArgs);
293 const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
302 SanitizerMask Res = ToolChain::getSupportedSanitizers();
388 return ToolChain::getCompilerRT(Args, Component, Type);
399 ToolChain::UnwindTableLevel