clang 22.0.0git
clang::driver::tools::solaris::Linker Class Referencefinal

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Driver/ToolChains/Solaris.h"

Inheritance diagram for clang::driver::tools::solaris::Linker:
[legend]

Public Member Functions

 Linker (const ToolChain &TC)
bool hasIntegratedCPP () const override
bool isLinkJob () const override
std::string getLinkerPath (const llvm::opt::ArgList &Args) const
void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
Public Member Functions inherited from clang::driver::Tool
 Tool (const char *Name, const char *ShortName, const ToolChain &TC)
virtual ~Tool ()
const char * getName () const
const char * getShortName () const
const ToolChaingetToolChain () const
virtual bool hasIntegratedAssembler () const
virtual bool hasIntegratedBackend () const
virtual bool canEmitIR () const
virtual bool isDsymutilJob () const
virtual bool hasGoodDiagnostics () const
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
virtual void ConstructJobMultipleOutputs (Compilation &C, const JobAction &JA, const InputInfoList &Outputs, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const
 Construct jobs to perform the action JA, writing to the Outputs and with Inputs, and add the jobs to C.

Detailed Description

Definition at line 36 of file Solaris.h.

Constructor & Destructor Documentation

◆ Linker()

clang::driver::tools::solaris::Linker::Linker ( const ToolChain & TC)
inline

Definition at line 38 of file Solaris.h.

References clang::driver::Tool::Tool().

Member Function Documentation

◆ ConstructJob()

void solaris::Linker::ConstructJob ( Compilation & C,
const JobAction & JA,
const InputInfo & Output,
const InputInfoList & Inputs,
const llvm::opt::ArgList & TCArgs,
const char * LinkingOutput ) const
overridevirtual

ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.

Parameters
TCArgs- The argument list for this toolchain, with any tool chain specific translations applied.
LinkingOutput- If this output will eventually feed the linker, then this is the final output name of the linked image.

Implements clang::driver::Tool.

Definition at line 81 of file Solaris.cpp.

References clang::driver::tools::addAsNeededOption(), clang::driver::ToolChain::AddCXXStdlibLibArgs(), clang::driver::ToolChain::addFastMathRuntimeIfAvailable(), clang::driver::ToolChain::AddFilePathLibArgs(), clang::driver::ToolChain::addFortranRuntimeLibraryPath(), clang::driver::ToolChain::addFortranRuntimeLibs(), clang::driver::tools::AddLinkerInputs(), clang::driver::tools::addOpenMPRuntime(), clang::driver::ToolChain::addProfileRTLibs(), clang::driver::tools::AddRunTimeLibs(), clang::driver::tools::addSanitizerRuntimes(), Arch, clang::C, clang::driver::Driver::CCCIsCXX(), clang::driver::ToolChain::getArch(), clang::driver::ToolChain::getDriver(), clang::driver::InputInfo::getFilename(), clang::driver::ToolChain::GetFilePath(), clang::LangStandard::getLangStandardForName(), clang::LangStandard::getLanguage(), getLinkerPath(), getPIE(), clang::driver::ToolChain::getSanitizerArgs(), clang::driver::Tool::getToolChain(), clang::LangStandard::isC99(), clang::driver::InputInfo::isFilename(), clang::driver::Driver::IsFlangMode(), clang::LangStandard::isGNUMode(), clang::driver::tools::solaris::isLinkerGnuLd(), clang::driver::InputInfo::isNothing(), clang::driver::tools::linkSanitizerRuntimeDeps(), clang::driver::SanitizerArgs::needsAsanRt(), clang::driver::SanitizerArgs::needsSharedRt(), clang::driver::SanitizerArgs::needsStatsRt(), clang::driver::SanitizerArgs::needsUbsanRt(), clang::driver::ResponseFileSupport::None(), clang::driver::SanitizerArgs::requiresMinimalRuntime(), and clang::driver::ToolChain::ShouldLinkCXXStdlib().

◆ getLinkerPath()

std::string solaris::Linker::getLinkerPath ( const llvm::opt::ArgList & Args) const

◆ hasIntegratedCPP()

bool clang::driver::tools::solaris::Linker::hasIntegratedCPP ( ) const
inlineoverridevirtual

Implements clang::driver::Tool.

Definition at line 40 of file Solaris.h.

◆ isLinkJob()

bool clang::driver::tools::solaris::Linker::isLinkJob ( ) const
inlineoverridevirtual

Reimplemented from clang::driver::Tool.

Definition at line 41 of file Solaris.h.


The documentation for this class was generated from the following files: