class Fuchsia
Declaration
class Fuchsia : public ToolChain { /* full declaration omitted */ };Description
ToolChain - Access to tools for a single platform.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:38
Inherits from: ToolChain
Member Variables
Inherited from ToolChain:
Method Overview
- public void AddCXXStdlibLibArgs(const llvm::opt::ArgList & Args, llvm::opt::ArgStringList & CmdArgs) const
- public void AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
- public void AddClangSystemIncludeArgs(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
- public std::string ComputeEffectiveClangTriple(const llvm::opt::ArgList & Args, types::ID InputType) const
- public Fuchsia(const clang::driver::Driver & D, const llvm::Triple & Triple, const llvm::opt::ArgList & Args)
- public clang::driver::ToolChain::CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList & Args) const
- public clang::driver::ToolChain::CXXStdlibType GetDefaultCXXStdlibType() const
- public clang::driver::ToolChain::RuntimeLibType GetDefaultRuntimeLibType() const
- public LangOptions::StackProtectorMode GetDefaultStackProtectorLevel(bool KernelOrKext) const
- public clang::driver::ToolChain::RuntimeLibType GetRuntimeLibType(const llvm::opt::ArgList & Args) const
- public bool HasNativeLLVMSupport() const
- public bool IsAArch64OutlineAtomicsDefault(const llvm::opt::ArgList & Args) const
- public bool IsIntegratedAssemblerDefault() const
- public bool IsMathErrnoDefault() const
- public bool IsUnwindTablesDefault(const llvm::opt::ArgList & Args) const
- public void addClangTargetOptions(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args, Action::OffloadKind DeviceOffloadKind) const
- protected clang::driver::Tool * buildLinker() const
- public llvm::DebuggerKind getDefaultDebuggerTuning() const
- public const char * getDefaultLinker() const
- public clang::SanitizerMask getDefaultSanitizers() const
- public clang::SanitizerMask getSupportedSanitizers() const
- public bool isPICDefault() const
- public bool isPICDefaultForced() const
- public bool isPIEDefault(const llvm::opt::ArgList & Args) const
- public bool useRelaxRelocations() const
Inherited from ToolChain:
- public AddCCKextLibArgs
- public AddCXXStdlibLibArgs
- public AddClangCXXStdlibIncludeArgs
- public AddClangCXXStdlibIsystemArgs
- public AddClangSystemIncludeArgs
- public AddCudaIncludeArgs
- public AddFilePathLibArgs
- public AddHIPIncludeArgs
- public AddHIPRuntimeLibArgs
- public AddIAMCUIncludeArgs
- public CheckObjCARC
- public ComputeEffectiveClangTriple
- public ComputeLLVMTriple
- public GetCXXStdlibType
- public GetDefaultCXXStdlibType
- public GetDefaultDwarfVersion
- public GetDefaultRuntimeLibType
- public GetDefaultStackProtectorLevel
- public GetDefaultStandaloneDebug
- public GetDefaultTrivialAutoVarInit
- public GetDefaultUnwindLibType
- public GetExceptionModel
- public GetFilePath
- public GetGlobalDebugPathRemapping
- public GetLinkerPath
- public GetProgramPath
- public GetRuntimeLibType
- public GetStaticLibToolPath
- public GetUnwindLibType
- public HasNativeLLVMSupport
- public IsAArch64OutlineAtomicsDefault
- public IsBlocksDefault
- public IsEncodeExtendedBlockSignatureDefault
- public IsIntegratedAssemblerDefault
- public IsIntegratedBackendDefault
- public IsIntegratedBackendSupported
- public IsMathErrnoDefault
- public IsNonIntegratedBackendSupported
- public IsObjCNonFragileABIDefault
- public IsUnwindTablesDefault
- public LookupTypeForExtension
- public SelectTool
- public ShouldLinkCXXStdlib
- public SupportsEmbeddedBitcode
- public SupportsProfiling
- public TranslateArgs
- public TranslateOpenMPTargetArgs
- public TranslateXarchArgs
- public TranslateXarchArgs
- public UseDwarfDebugFlags
- public UseObjCMixedDispatch
- public addClangTargetOptions
- public addClangWarningOptions
- protected addExternCSystemInclude
- protected addExternCSystemIncludeIfExists
- public addFastMathRuntimeIfAvailable
- public addProfileRTLibs
- protected addSystemInclude
- protected addSystemIncludes
- public adjustDebugInfoKind
- protected buildAssembler
- protected buildCompilerRTBasename
- protected buildLinker
- protected buildStaticLibTool
- public canSplitThinLTOUnit
- public computeMSVCVersion
- public computeSysRoot
- protected concat
- public defaultToIEEELongDouble
- public detectLibcxxVersion
- public getArch
- public getArchName
- public getArchSpecificLibPath
- public getAuxTriple
- public getCompilerRT
- public getCompilerRTArgString
- public getCompilerRTBasename
- public getCompilerRTPath
- public getDefaultDebugFormat
- public getDefaultDebuggerTuning
- public getDefaultDenormalModeForType
- public getDefaultLinker
- public getDefaultObjCRuntime
- public getDefaultSanitizers
- public getDefaultUniversalArchName
- public getDriver
- public getEffectiveTriple
- public getFilePaths
- public getFilePaths
- public getHIPDeviceLibs
- public getInputFilename
- public getLibraryPaths
- public getLibraryPaths
- public getMaxDwarfVersion
- public getMultiarchTriple
- public getMultilib
- public getMultilibs
- public getOS
- public getOSLibName
- public getOpenMPTriple
- public getPlatform
- public getProgramPaths
- public getProgramPaths
- public getRTTIArg
- public getRTTIMode
- public getRuntimePaths
- public getSanitizerArgs
- public getStdlibPaths
- public getSupportedSanitizers
- public getTargetAndModeFromProgramName
- public getTargetVariantTriple
- public getThreadModel
- protected getTool
- public getTriple
- public getTripleString
- public getVFS
- public getXRayArgs
- public hasBlocksRuntime
- public isCrossCompiling
- public isFastMathRuntimeAvailable
- public isPICDefault
- public isPICDefaultForced
- public isPIEDefault
- public isThreadModelSupported
- public needsGCovInstrumentation
- public needsProfileRT
- public parseInlineAsmUsingAsmParser
- public printVerboseInfo
- protected setTripleEnvironment
- public supportsDebugInfoOption
- public useIntegratedAs
- public useIntegratedBackend
- public useRelaxRelocations
Methods
¶void AddCXXStdlibLibArgs(
const llvm::opt::ArgList& Args,
llvm::opt::ArgStringList& CmdArgs) const
void AddCXXStdlibLibArgs(
const llvm::opt::ArgList& Args,
llvm::opt::ArgStringList& CmdArgs) constDescription
AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:95
Parameters
- const llvm::opt::ArgList& Args
- llvm::opt::ArgStringList& CmdArgs
¶void AddClangCXXStdlibIncludeArgs(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) const
void AddClangCXXStdlibIncludeArgs(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) constDescription
AddClangCXXStdlibIncludeArgs - Add the clang -cc1 level arguments to set the include paths to use for the given C++ standard library type.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:92
Parameters
- const llvm::opt::ArgList& DriverArgs
- llvm::opt::ArgStringList& CC1Args
¶void AddClangSystemIncludeArgs(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) const
void AddClangSystemIncludeArgs(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) constDescription
Add the clang cc1 arguments for system include paths. This routine is responsible for adding the necessary cc1 arguments to include headers from standard system header directories.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:90
Parameters
- const llvm::opt::ArgList& DriverArgs
- llvm::opt::ArgStringList& CC1Args
¶std::string ComputeEffectiveClangTriple(
const llvm::opt::ArgList& Args,
types::ID InputType) const
std::string ComputeEffectiveClangTriple(
const llvm::opt::ArgList& Args,
types::ID InputType) constDescription
ComputeEffectiveClangTriple - Return the Clang triple to use for this target, which may take into account the command line arguments. For example, on Darwin the -mmacosx-version-min= command line argument (which sets the deployment target) determines the version in the triple passed to Clang.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:70
Parameters
- const llvm::opt::ArgList& Args
- types::ID InputType
¶Fuchsia(const clang::driver::Driver& D,
const llvm::Triple& Triple,
const llvm::opt::ArgList& Args)
Fuchsia(const clang::driver::Driver& D,
const llvm::Triple& Triple,
const llvm::opt::ArgList& Args)Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:40
Parameters
- const clang::driver::Driver& D
- const llvm::Triple& Triple
- const llvm::opt::ArgList& Args
¶clang::driver::ToolChain::CXXStdlibType
GetCXXStdlibType(
const llvm::opt::ArgList& Args) const
clang::driver::ToolChain::CXXStdlibType
GetCXXStdlibType(
const llvm::opt::ArgList& Args) constDeclared at: clang/lib/Driver/ToolChains/Fuchsia.h:78
Parameters
- const llvm::opt::ArgList& Args
¶clang::driver::ToolChain::CXXStdlibType
GetDefaultCXXStdlibType() const
clang::driver::ToolChain::CXXStdlibType
GetDefaultCXXStdlibType() constDeclared at: clang/lib/Driver/ToolChains/Fuchsia.h:50
¶clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() const
clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() constDescription
GetDefaultRuntimeLibType - Get the default runtime library variant to use.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:47
¶LangOptions::StackProtectorMode
GetDefaultStackProtectorLevel(
bool KernelOrKext) const
LangOptions::StackProtectorMode
GetDefaultStackProtectorLevel(
bool KernelOrKext) constDescription
GetDefaultStackProtectorLevel - Get the default stack protector level for this tool chain.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:66
Parameters
- bool KernelOrKext
¶clang::driver::ToolChain::RuntimeLibType
GetRuntimeLibType(
const llvm::opt::ArgList& Args) const
clang::driver::ToolChain::RuntimeLibType
GetRuntimeLibType(
const llvm::opt::ArgList& Args) constDeclared at: clang/lib/Driver/ToolChains/Fuchsia.h:77
Parameters
- const llvm::opt::ArgList& Args
¶bool HasNativeLLVMSupport() const
bool HasNativeLLVMSupport() constDescription
HasNativeLTOLinker - Check whether the linker and related tools have native LLVM support.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:43
¶bool IsAArch64OutlineAtomicsDefault(
const llvm::opt::ArgList& Args) const
bool IsAArch64OutlineAtomicsDefault(
const llvm::opt::ArgList& Args) constDescription
Test whether this toolchain supports outline atomics by default.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:80
Parameters
- const llvm::opt::ArgList& Args
¶bool IsIntegratedAssemblerDefault() const
bool IsIntegratedAssemblerDefault() constDescription
IsIntegratedAssemblerDefault - Does this tool chain enable -integrated-as by default.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:44
¶bool IsMathErrnoDefault() const
bool IsMathErrnoDefault() constDescription
IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:45
¶bool IsUnwindTablesDefault(
const llvm::opt::ArgList& Args) const
bool IsUnwindTablesDefault(
const llvm::opt::ArgList& Args) constDescription
IsUnwindTablesDefault - Does this tool chain use -funwind-tables by default.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:53
Parameters
- const llvm::opt::ArgList& Args
¶void addClangTargetOptions(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args,
Action::OffloadKind DeviceOffloadKind) const
void addClangTargetOptions(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args,
Action::OffloadKind DeviceOffloadKind) constDescription
Add options that need to be passed to cc1 for this target.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:86
Parameters
- const llvm::opt::ArgList& DriverArgs
- llvm::opt::ArgStringList& CC1Args
- Action::OffloadKind DeviceOffloadKind
¶clang::driver::Tool* buildLinker() const
clang::driver::Tool* buildLinker() constDeclared at: clang/lib/Driver/ToolChains/Fuchsia.h:101
¶llvm::DebuggerKind getDefaultDebuggerTuning()
const
llvm::DebuggerKind getDefaultDebuggerTuning()
constDeclared at: clang/lib/Driver/ToolChains/Fuchsia.h:61
¶const char* getDefaultLinker() const
const char* getDefaultLinker() constDescription
GetDefaultLinker - Get the default linker to use.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:98
¶clang::SanitizerMask getDefaultSanitizers() const
clang::SanitizerMask getDefaultSanitizers() constDescription
Return sanitizers which are enabled by default.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:74
¶clang::SanitizerMask getSupportedSanitizers()
const
clang::SanitizerMask getSupportedSanitizers()
constDescription
Return sanitizers which are available in this toolchain.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:73
¶bool isPICDefault() const
bool isPICDefault() constDescription
Test whether this toolchain defaults to PIC.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:56
¶bool isPICDefaultForced() const
bool isPICDefaultForced() constDescription
Tests whether this toolchain forces its default for PIC, PIE or non-PIC. If this returns true, any PIC related flags should be ignored and instead the results of \c isPICDefault() and \c isPIEDefault(const llvm::opt::ArgList &Args ) are used exclusively.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:60
¶bool isPIEDefault(
const llvm::opt::ArgList& Args) const
bool isPIEDefault(
const llvm::opt::ArgList& Args) constDescription
Test whether this toolchain defaults to PIE.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:57
Parameters
- const llvm::opt::ArgList& Args
¶bool useRelaxRelocations() const
bool useRelaxRelocations() constDescription
Check whether to enable x86 relax relocations by default.
Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:46