clang API Documentation
Clang integrated assembler tool. More...
#include <Tools.h>
Public Member Functions | |
ClangAs (const ToolChain &TC) | |
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 |
clang::driver::tools::ClangAs::ClangAs | ( | const ToolChain & | TC | ) | [inline] |
void ClangAs::ConstructJob | ( | Compilation & | C, |
const JobAction & | JA, | ||
const InputInfo & | Output, | ||
const InputInfoList & | Inputs, | ||
const llvm::opt::ArgList & | TCArgs, | ||
const char * | LinkingOutput | ||
) | const [override, virtual] |
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 4813 of file Tools.cpp.
References clang::driver::Compilation::addCommand(), addDebugCompDirArg(), AttributeLangSupport::C, CollectArgsForIntegratedAssembler(), EscapeSpacesAndBackslashes(), clang::getClangFullVersion(), getCPUName(), clang::driver::InputInfo::getFilename(), clang::driver::Action::getInputs(), clang::driver::Action::getKind(), getTargetFeatures(), clang::driver::Action::getType(), Input, clang::driver::Action::InputClass, clang::driver::InputInfo::isFilename(), SplitDebugInfo(), and SplitDebugName().
bool clang::driver::tools::ClangAs::hasGoodDiagnostics | ( | ) | const [inline, override, virtual] |
Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
Reimplemented from clang::driver::Tool.
bool clang::driver::tools::ClangAs::hasIntegratedAssembler | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::driver::Tool.
bool clang::driver::tools::ClangAs::hasIntegratedCPP | ( | ) | const [inline, override, virtual] |
Implements clang::driver::Tool.