|
| Clang (const ToolChain &TC) |
|
| ~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 | 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, 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 | 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...
|
|
Clang compiler tool.
Definition at line 29 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 3358 of file Clang.cpp.
References clang::driver::XRayArgs::addArgs(), clang::driver::SanitizerArgs::addArgs(), clang::driver::Compilation::addCommand(), addDashXForInput(), addDebugCompDirArg(), addDebugPrefixMapArg(), addExceptionArgs(), addPGOAndCoverageFlags(), clang::driver::tools::PS4cpu::addProfileRTArgs(), clang::driver::tools::PS4cpu::addSanitizerArgs(), 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::driver::Driver::Diag(), clang::driver::Driver::embedBitcodeInObject(), clang::driver::Driver::embedBitcodeMarkerOnly(), EscapeSpacesAndBackslashes(), clang::driver::InputInfo::getBaseInput(), clang::driver::Driver::getClangProgramPath(), clang::driver::tools::getCPUName(), clang::driver::Compilation::getDriver(), clang::driver::InputInfo::getFilename(), clang::driver::InputInfo::getInputArg(), clang::driver::JobList::getJobs(), clang::driver::Compilation::getJobs(), clang::driver::tools::getLastProfileSampleUseArg(), clang::driver::Driver::getLTOMode(), clang::driver::Action::getOffloadingArch(), clang::driver::Action::getOffloadingDeviceKind(), clang::driver::Action::GetOffloadingFileNamePrefix(), clang::driver::Driver::getOpenMPRuntime(), clang::driver::types::getPrecompiledType(), clang::driver::types::getPreprocessedType(), clang::driver::Compilation::getSingleOffloadToolChain(), clang::driver::tools::getStatsFileName(), clang::driver::InputInfo::getType(), clang::driver::Action::getType(), clang::driver::types::getTypeName(), clang::driver::Driver::getVFS(), clang::driver::Driver::IsCLMode(), clang::driver::types::isCXX(), clang::driver::Action::isDeviceOffloading(), clang::driver::InputInfo::isFilename(), clang::driver::Compilation::isForDiagnostics(), clang::driver::Action::isHostOffloading(), clang::driver::types::isLLVMIR(), isNoCommonDefault(), clang::driver::InputInfo::isNothing(), clang::driver::Action::isOffloading(), clang::driver::isOptimizationLevelFast(), clang::driver::Driver::isSaveTempsEnabled(), clang::driver::tools::isUseSeparateSections(), clang::driver::Driver::isUsingLTO(), clang::driver::LTOK_Full, clang::driver::SanitizerArgs::needsLTO(), clang::codegenoptions::NoDebugInfo, None, 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(), ParseMPreferVectorWidth(), clang::driver::tools::ParsePICArgs(), RelocationModelName(), RenderAnalyzerOptions(), RenderARCMigrateToolOptions(), RenderBuiltinOptions(), RenderCharacterOptions(), RenderDebugOptions(), RenderDiagnosticsOptions(), RenderFloatingPointOptions(), RenderModulesOptions(), RenderObjCOptions(), RenderOpenCLOptions(), RenderSSPOptions(), RenderTrivialAutoVarInitOptions(), clang::driver::Driver::ResourceDir, clang::driver::ToolChain::RM_Disabled, ShouldDisableAutolink(), ShouldDisableDwarfDirectory(), shouldEnableVectorizerAtOLevel(), shouldUseFramePointer(), shouldUseLeafFramePointer(), clang::driver::tools::SplitDebugName(), Std, clang::driver::types::TY_INVALID, clang::driver::options::Unsupported, and v.