clang 20.0.0git
|
Clang integrated assembler tool. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Driver/ToolChains/Clang.h"
Public Member Functions | |
ClangAs (const ToolChain &TC) | |
void | AddLoongArchTargetArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const |
void | AddMIPSTargetArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const |
void | AddX86TargetArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const |
void | AddRISCVTargetArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const |
bool | hasGoodDiagnostics () const override |
Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures. | |
bool | hasIntegratedAssembler () const override |
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 . | |
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 ToolChain & | getToolChain () 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 . | |
|
inline |
void ClangAs::AddLoongArchTargetArgs | ( | const llvm::opt::ArgList & | Args, |
llvm::opt::ArgStringList & | CmdArgs | ||
) | const |
Definition at line 8531 of file Clang.cpp.
References clang::driver::tools::loongarch::getLoongArchABI(), and clang::driver::Tool::getToolChain().
Referenced by ConstructJob().
void ClangAs::AddMIPSTargetArgs | ( | const llvm::opt::ArgList & | Args, |
llvm::opt::ArgStringList & | CmdArgs | ||
) | const |
Definition at line 8503 of file Clang.cpp.
References clang::driver::tools::mips::getMipsCPUAndABI(), clang::driver::Tool::getToolChain(), and clang::driver::ToolChain::getTriple().
Referenced by ConstructJob().
void ClangAs::AddRISCVTargetArgs | ( | const llvm::opt::ArgList & | Args, |
llvm::opt::ArgStringList & | CmdArgs | ||
) | const |
Definition at line 8539 of file Clang.cpp.
References clang::driver::tools::riscv::getRISCVABI(), clang::driver::Tool::getToolChain(), and clang::driver::ToolChain::getTriple().
Referenced by ConstructJob().
void ClangAs::AddX86TargetArgs | ( | const llvm::opt::ArgList & | Args, |
llvm::opt::ArgStringList & | CmdArgs | ||
) | const |
Definition at line 8514 of file Clang.cpp.
References clang::driver::tools::addX86AlignBranchArgs(), clang::driver::Driver::Diag(), clang::driver::ToolChain::getDriver(), and clang::driver::Tool::getToolChain().
Referenced by ConstructJob().
|
overridevirtual |
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 8554 of file Clang.cpp.
References clang::driver::ToolChain::addClangCC1ASTargetOptions(), addDebugCompDirArg(), addDebugObjectName(), addDebugPrefixMapArg(), AddLoongArchTargetArgs(), AddMIPSTargetArgs(), AddRISCVTargetArgs(), AddX86TargetArgs(), clang::driver::ResponseFileSupport::AtFileUTF8(), clang::C, clang::driver::tools::claimNoWarnArgs(), CollectArgsForIntegratedAssembler(), D, EscapeSpacesAndBackslashes(), clang::driver::tools::Clang::getBaseInputName(), clang::getClangFullVersion(), clang::driver::Driver::getClangProgramPath(), clang::driver::tools::getCPUName(), clang::driver::tools::getDebugFissionKind(), clang::driver::ToolChain::getDriver(), clang::driver::tools::getDwarfVersion(), clang::driver::ToolChain::getEffectiveTriple(), clang::driver::InputInfo::getFilename(), clang::driver::tools::getTargetFeatures(), clang::driver::Tool::getToolChain(), clang::driver::ToolChain::getTriple(), clang::driver::Action::getType(), handleAMDGPUCodeObjectVersionOptions(), clang::driver::Action::InputClass, clang::driver::InputInfo::isFilename(), clang::driver::tools::ParsePICArgs(), clang::driver::tools::RelocationModelName(), RenderDebugEnablingArgs(), RenderDebugInfoCompressionArgs(), renderDwarfFormat(), clang::driver::tools::Split, clang::driver::tools::SplitDebugName(), and clang::T.
|
inlineoverridevirtual |
Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
Reimplemented from clang::driver::Tool.
|
inlineoverridevirtual |
Reimplemented from clang::driver::Tool.
|
inlineoverridevirtual |
Implements clang::driver::Tool.