clang  16.0.0git
Public Member Functions | List of all members
clang::driver::tools::gnutools::Assembler Class Reference

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

Inheritance diagram for clang::driver::tools::gnutools::Assembler:
Inheritance graph
Collaboration diagram for clang::driver::tools::gnutools::Assembler:
Collaboration graph

Public Member Functions

 Assembler (const ToolChain &TC)
bool hasIntegratedCPP () 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 isLinkJob () 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 41 of file Gnu.h.

Constructor & Destructor Documentation

◆ Assembler()

clang::driver::tools::gnutools::Assembler::Assembler ( const ToolChain TC)

Definition at line 43 of file Gnu.h.

Member Function Documentation

◆ ConstructJob()

void tools::gnutools::Assembler::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.

Reimplemented in clang::driver::tools::nacltools::AssemblerARM.

Definition at line 703 of file Gnu.cpp.

References clang::driver::tools::AddAssemblerKPIC(), clang::driver::ResponseFileSupport::AtFileCurCP(), clang::driver::tools::claimNoWarnArgs(), clang::driver::tools::arm::getARMFloatABI(), clang::driver::tools::getCPUName(), clang::driver::tools::getDwarfVersion(), clang::driver::InputInfo::getFilename(), clang::driver::tools::mips::getGnuCompatibleMipsABIName(), clang::driver::tools::mips::getMipsCPUAndABI(), clang::driver::tools::mips::getMipsFloatABI(), clang::driver::tools::ppc::getPPCAsmModeForCPU(), clang::driver::tools::riscv::getRISCVABI(), clang::driver::tools::riscv::getRISCVArch(), clang::driver::tools::sparc::getSparcAsmModeForCPU(), clang::driver::tools::systemz::getSystemZTargetCPU(), clang::RISCV::Invalid, isArmBigEndian(), normalizeCPUNamesForAssembler(), clang::driver::tools::ParsePICArgs(), clang::driver::tools::mips::shouldUseFPXX(), clang::driver::tools::SplitDebugInfo(), clang::driver::tools::SplitDebugName(), and string().

Referenced by clang::driver::tools::nacltools::AssemblerARM::ConstructJob().

◆ hasIntegratedCPP()

bool clang::driver::tools::gnutools::Assembler::hasIntegratedCPP ( ) const

Implements clang::driver::Tool.

Definition at line 45 of file Gnu.h.

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