|
| Clang (const ToolChain &TC, bool HasIntegratedBackend=true) |
|
| ~Clang () override |
|
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 | hasIntegratedBackend () const override |
|
bool | hasIntegratedCPP () const override |
|
bool | canEmitIR () 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) |
|
virtual | ~Tool () |
|
const char * | getName () const |
|
const char * | getShortName () const |
|
const ToolChain & | getToolChain () const |
|
virtual bool | isLinkJob () const |
|
virtual bool | isDsymutilJob () const |
|
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...
|
|
Clang compiler tool.
Definition at line 28 of file Clang.h.
ConstructJob - Construct jobs to perform the action JA
, writing to Output
and with Inputs
, and add the jobs to C
.
- Parameters
-
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 4379 of file Clang.cpp.
References clang::driver::XRayArgs::addArgs(), clang::driver::ToolChain::addClangTargetOptions(), clang::driver::ToolChain::addClangWarningOptions(), addDashXForInput(), addDebugCompDirArg(), addDebugPrefixMapArg(), addPGOAndCoverageFlags(), clang::driver::tools::PScpu::addProfileRTArgs(), clang::driver::tools::PScpu::addSanitizerArgs(), clang::CodeGenOptions::All, clang::Asm, clang::driver::ResponseFileSupport::AtFileUTF8(), bytes(), clang::driver::Driver::CCGenDiagnostics, clang::driver::Driver::CCLogDiagnostics, clang::driver::Driver::CCLogDiagnosticsFilename, clang::driver::Driver::CCPrintHeaders, clang::driver::Driver::CCPrintHeadersFilename, CheckCodeGenerationOptions(), clang::driver::tools::claimNoWarnArgs(), CollectArgsForIntegratedAssembler(), clang::CudaVersionToString(), clang::codegenoptions::DebugInfoConstructor, clang::driver::Driver::Diag(), clang::diagGroupFromCLWarningID(), Filename, clang::driver::ToolChain::getArch(), clang::driver::ToolChain::getAuxTriple(), clang::driver::Driver::getClangProgramPath(), clang::driver::tools::getCPUName(), clang::driver::ToolChain::getDriver(), clang::driver::ToolChain::getEffectiveTriple(), clang::driver::InputInfo::getFilename(), getFramePointerKind(), clang::driver::Driver::getLTOMode(), clang::driver::Action::getOffloadingDeviceKind(), clang::driver::Driver::getOpenMPRuntime(), clang::driver::types::getPrecompiledType(), clang::driver::types::getPreprocessedType(), clang::driver::ToolChain::getSanitizerArgs(), getTargetFeatures(), clang::driver::ToolChain::getThreadModel(), clang::driver::ToolChain::getTriple(), clang::driver::InputInfo::getType(), clang::driver::Action::getType(), clang::driver::types::getTypeName(), clang::driver::Driver::getVFS(), clang::DiagnosticIDs::getWarningOptionForGroup(), clang::driver::ToolChain::getXRayArgs(), clang::driver::Driver::IsCLMode(), clang::driver::types::isCXX(), clang::driver::Action::isDeviceOffloading(), clang::driver::InputInfo::isFilename(), clang::driver::Action::isHostOffloading(), clang::driver::ToolChain::IsIntegratedAssemblerDefault(), clang::driver::types::isLLVMIR(), clang::driver::InputInfo::isNothing(), clang::driver::Action::isOffloading(), clang::driver::isOptimizationLevelFast(), clang::driver::ToolChain::isThreadModelSupported(), clang::driver::ToolChain::IsUnwindTablesDefault(), clang::driver::tools::isUseSeparateSections(), clang::driver::Driver::isUsingLTO(), clang::driver::LTOK_Full, clang::driver::LTOK_Thin, min(), clang::codegenoptions::NoDebugInfo, clang::CodeGenOptions::None, None, clang::CodeGenOptions::NonLeaf, Offset, clang::driver::Action::OFK_Cuda, clang::driver::Action::OFK_HIP, clang::driver::Action::OFK_Host, clang::driver::Action::OFK_None, clang::driver::Action::OFK_OpenMP, clang::driver::Driver::OMPRT_IOMP5, clang::driver::Driver::OMPRT_OMP, clang::driver::tools::ParseFunctionAlignment(), clang::driver::ToolChain::parseInlineAsmUsingAsmParser(), clang::driver::tools::ParsePICArgs(), RelocationModelName(), RenderAnalyzerOptions(), RenderARCMigrateToolOptions(), renderDebugOptions(), RenderFloatingPointOptions(), clang::driver::Driver::ResourceDir, ShouldEnableAutolink(), Split, clang::driver::tools::SplitDebugName(), Std, string(), clang::driver::types::TY_INVALID, clang::UNKNOWN, clang::driver::options::Unsupported, clang::driver::ToolChain::useIntegratedAs(), v, and V.