clang 20.0.0git
|
Public Member Functions | |
Linker (const ToolChain &TC) | |
bool | isLinkJob () const override |
bool | hasIntegratedCPP () 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 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 . | |
Definition at line 21 of file WebAssembly.h.
|
inlineexplicit |
Definition at line 23 of file WebAssembly.h.
|
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 71 of file WebAssembly.cpp.
References clang::driver::ToolChain::AddCXXStdlibLibArgs(), clang::driver::ToolChain::AddFilePathLibArgs(), clang::driver::tools::AddLinkerInputs(), clang::driver::tools::AddRunTimeLibs(), clang::driver::ResponseFileSupport::AtFileCurCP(), clang::C, clang::driver::Driver::Diag(), clang::driver::ToolChain::getDriver(), clang::driver::InputInfo::getFilename(), clang::driver::ToolChain::GetFilePath(), clang::driver::ToolChain::GetProgramPath(), clang::driver::ToolChain::getTriple(), clang::driver::ToolChain::ShouldLinkCXXStdlib(), and TargetBuildsComponents().
std::string wasm::Linker::getLinkerPath | ( | const llvm::opt::ArgList & | Args | ) | const |
Definition at line 38 of file WebAssembly.cpp.
References clang::driver::Driver::Diag(), clang::driver::ToolChain::getDefaultLinker(), clang::driver::ToolChain::getDriver(), and clang::driver::ToolChain::GetProgramPath().
|
inlineoverridevirtual |
Implements clang::driver::Tool.
Definition at line 25 of file WebAssembly.h.
|
inlineoverridevirtual |
Reimplemented from clang::driver::Tool.
Definition at line 24 of file WebAssembly.h.