clang 22.0.0git
clang::driver::tools::darwin::MachOTool Class Reference

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

Inheritance diagram for clang::driver::tools::darwin::MachOTool:
[legend]

Public Member Functions

 MachOTool (const char *Name, const char *ShortName, const ToolChain &TC)
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 hasIntegratedCPP () const =0
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.
virtual void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const =0
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
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.

Protected Member Functions

void AddMachOArch (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const
const toolchains::MachOgetMachOToolChain () const

Detailed Description

Definition at line 36 of file Darwin.h.

Constructor & Destructor Documentation

◆ MachOTool()

Member Function Documentation

◆ AddMachOArch()

void darwin::MachOTool::AddMachOArch ( const llvm::opt::ArgList & Args,
llvm::opt::ArgStringList & CmdArgs ) const
protected

Definition at line 170 of file Darwin.cpp.

References getMachOToolChain().

Referenced by clang::driver::tools::darwin::Assembler::ConstructJob().

◆ getMachOToolChain()

const toolchains::MachO & clang::driver::tools::darwin::MachOTool::getMachOToolChain ( ) const
inlineprotected

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