clang  17.0.0git
Public Member Functions | List of all members
clang::driver::tools::netbsd::Linker Class Reference

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

Inheritance diagram for clang::driver::tools::netbsd::Linker:
Inheritance graph
Collaboration diagram for clang::driver::tools::netbsd::Linker:
Collaboration graph

Public Member Functions

 Linker (const ToolChain &TC)
bool hasIntegratedCPP () const override
bool isLinkJob () const override
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. More...
- 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. More...
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. More...

Detailed Description

Definition at line 34 of file NetBSD.h.

Constructor & Destructor Documentation

◆ Linker()

clang::driver::tools::netbsd::Linker::Linker ( const ToolChain TC)

Definition at line 36 of file NetBSD.h.

Member Function Documentation

◆ ConstructJob()

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

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

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 116 of file NetBSD.cpp.

References clang::driver::ToolChain::AddCXXStdlibLibArgs(), clang::driver::tools::AddLinkerInputs(), clang::driver::tools::addOpenMPRuntime(), clang::driver::ToolChain::addProfileRTLibs(), clang::driver::tools::addSanitizerRuntimes(), clang::driver::tools::addXRayRuntime(), clang::driver::tools::arm::appendBE8LinkFlag(), clang::driver::ResponseFileSupport::AtFileCurCP(), clang::driver::Driver::CCCIsCXX(), clang::driver::ToolChain::getArch(), clang::driver::ToolChain::getCompilerRTPath(), clang::driver::ToolChain::getDriver(), clang::driver::ToolChain::getEffectiveTriple(), clang::driver::InputInfo::getFilename(), clang::driver::ToolChain::GetFilePath(), clang::driver::ToolChain::GetLinkerPath(), clang::driver::ToolChain::getSanitizerArgs(), clang::driver::ToolChain::getTriple(), clang::driver::tools::mips::hasMipsAbiArg(), clang::driver::InputInfo::isFilename(), clang::driver::InputInfo::isNothing(), clang::driver::tools::linkSanitizerRuntimeDeps(), clang::driver::tools::linkXRayRuntimeDeps(), clang::driver::SanitizerArgs::needsSharedRt(), clang::driver::ToolChain::ShouldLinkCXXStdlib(), and clang::driver::Driver::SysRoot.

◆ hasIntegratedCPP()

bool clang::driver::tools::netbsd::Linker::hasIntegratedCPP ( ) const

Implements clang::driver::Tool.

Definition at line 38 of file NetBSD.h.

◆ isLinkJob()

bool clang::driver::tools::netbsd::Linker::isLinkJob ( ) const

Reimplemented from clang::driver::Tool.

Definition at line 39 of file NetBSD.h.

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