clang
6.0.0
|
Clang integrated assembler tool. More...
#include "/work/www-prereleases/6.0.0/rc2/docsbuild/llvm.src/tools/clang/lib/Driver/ToolChains/Clang.h"
Public Member Functions | |
ClangAs (const ToolChain &TC) | |
void | AddMIPSTargetArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const |
void | AddX86TargetArgs (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. More... | |
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 . More... | |
![]() | |
Tool (const char *Name, const char *ShortName, const ToolChain &TC, ResponseFileSupport ResponseSupport=RF_None, llvm::sys::WindowsEncodingMethod ResponseEncoding=llvm::sys::WEM_UTF8, const char *ResponseFlag="@") | |
virtual | ~Tool () |
const char * | getName () const |
const char * | getShortName () const |
const ToolChain & | getToolChain () const |
virtual bool | canEmitIR () const |
virtual bool | isLinkJob () const |
virtual bool | isDsymutilJob () const |
ResponseFileSupport | getResponseFilesSupport () const |
Returns the level of support for response files of this tool, whether it accepts arguments to be passed via a file on disk. More... | |
llvm::sys::WindowsEncodingMethod | getResponseFileEncoding () const |
Returns which encoding the response file should use. More... | |
const char * | getResponseFileFlag () const |
Returns which prefix to use when passing the name of a response file as a parameter to this tool. 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... | |
Additional Inherited Members | |
![]() | |
enum | ResponseFileSupport { RF_Full, RF_FileList, RF_None } |
|
inline |
void ClangAs::AddMIPSTargetArgs | ( | const llvm::opt::ArgList & | Args, |
llvm::opt::ArgStringList & | CmdArgs | ||
) | const |
Definition at line 5144 of file Clang.cpp.
References clang::driver::tools::mips::getMipsCPUAndABI(), clang::driver::Tool::getToolChain(), and clang::driver::ToolChain::getTriple().
void ClangAs::AddX86TargetArgs | ( | const llvm::opt::ArgList & | Args, |
llvm::opt::ArgStringList & | CmdArgs | ||
) | const |
Definition at line 5155 of file Clang.cpp.
References clang::driver::Driver::Diag(), clang::driver::ToolChain::getDriver(), and clang::driver::Tool::getToolChain().
|
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 5169 of file Clang.cpp.
References clang::driver::Compilation::addCommand(), addDebugCompDirArg(), clang::driver::tools::claimNoWarnArgs(), CollectArgsForIntegratedAssembler(), DwarfVersionNum(), EscapeSpacesAndBackslashes(), clang::driver::ToolChain::getArch(), clang::driver::tools::Clang::getBaseInputName(), clang::getClangFullVersion(), clang::driver::Driver::getClangProgramPath(), clang::driver::tools::getCPUName(), clang::driver::ToolChain::GetDefaultDwarfVersion(), clang::driver::ToolChain::getDriver(), clang::driver::ToolChain::getEffectiveTriple(), clang::driver::InputInfo::getFilename(), clang::driver::Action::getInputs(), clang::driver::Action::getKind(), getTargetFeatures(), clang::driver::Tool::getToolChain(), clang::driver::ToolChain::getTriple(), clang::driver::Action::getType(), clang::driver::Action::InputClass, clang::driver::InputInfo::isFilename(), clang::codegenoptions::LimitedDebugInfo, clang::codegenoptions::NoDebugInfo, clang::driver::tools::ParsePICArgs(), RelocationModelName(), RenderDebugEnablingArgs(), RenderDebugInfoCompressionArgs(), clang::driver::tools::SplitDebugInfo(), and clang::driver::tools::SplitDebugName().
|
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.