|
| Clang (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. 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...
|
|
Clang compiler tool.
Definition at line 46 of file Tools.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 3826 of file Tools.cpp.
References clang::driver::SanitizerArgs::addArgs(), clang::driver::Compilation::addCommand(), addDashXForInput(), addDebugCompDirArg(), addExceptionArgs(), addPGOAndCoverageFlags(), addPS4ProfileRTArgs(), clang::driver::Compilation::addTempFile(), clang::ObjCRuntime::allowsWeak(), appendUserToPath(), bytes(), clang::driver::Driver::CCCUsePCH, clang::driver::Driver::CCGenDiagnostics, clang::driver::Driver::CCLogDiagnostics, clang::driver::Driver::CCLogDiagnosticsFilename, clang::driver::Driver::CCPrintHeaders, clang::driver::Driver::CCPrintHeadersFilename, CheckCodeGenerationOptions(), claimNoWarnArgs(), CollectArgsForIntegratedAssembler(), clang::driver::ToolChain::CST_Libcxx, DebugLevelToInfoKind(), clang::driver::Driver::Diag(), DwarfVersionNum(), E, clang::driver::Driver::embedBitcodeEnabled(), clang::driver::Driver::embedBitcodeMarkerOnly(), clang::VersionTuple::empty(), EscapeSpacesAndBackslashes(), clang::ObjCRuntime::FragileMacOSX, clang::codegenoptions::FullDebugInfo, clang::VersionTuple::getAsString(), getCPUName(), clang::DiagnosticsEngine::getDiagnosticOptions(), clang::driver::Driver::getDiags(), clang::driver::Compilation::getDriver(), clang::driver::InputInfo::getFilename(), clang::ObjCRuntime::getKind(), clang::VersionTuple::getMajor(), clang::driver::tools::visualstudio::getMSVCVersion(), getOpenMPRuntime(), clang::driver::types::getPreprocessedType(), clang::driver::Compilation::getSingleOffloadToolChain(), getTargetFeatures(), clang::driver::InputInfo::getType(), clang::driver::Action::getType(), I, Input, clang::driver::Driver::IsCLMode(), clang::driver::types::isCXX(), clang::driver::Action::isDeviceOffloading(), clang::driver::InputInfo::isFilename(), clang::driver::Compilation::isForDiagnostics(), clang::ObjCRuntime::isLegacyDispatchDefaultForArch(), clang::driver::types::isLLVMIR(), clang::ObjCRuntime::isNeXTFamily(), isNoCommonDefault(), clang::ObjCRuntime::isNonFragile(), clang::driver::InputInfo::isNothing(), clang::driver::types::isObjC(), isObjCAutoRefCount(), clang::driver::Action::isOffloading(), clang::driver::isOptimizationLevelFast(), clang::driver::Driver::isSaveTempsEnabled(), isSignedCharDefault(), clang::driver::Driver::isUsingLTO(), clang::codegenoptions::LimitedDebugInfo, clang::codegenoptions::NoDebugInfo, clang::driver::Action::OFK_Cuda, clang::driver::Action::OFK_Host, clang::driver::Action::OFK_None, ParseMRecip(), ParsePICArgs(), RelocationModelName(), RenderDebugEnablingArgs(), clang::driver::Driver::ResourceDir, clang::driver::ToolChain::RM_DisabledExplicitly, clang::driver::ToolChain::RM_DisabledImplicitly, ShouldDisableAutolink(), ShouldDisableDwarfDirectory(), shouldEnableVectorizerAtOLevel(), shouldUseFramePointer(), shouldUseLeafFramePointer(), SplitDebugInfo(), SplitDebugName(), clang::LangOptions::SSPOn, clang::LangOptions::SSPReq, clang::LangOptions::SSPStrong, clang::driver::types::TY_INVALID, and clang::driver::options::Unsupported.