class OpenBSD
Declaration
class OpenBSD : public Generic_ELF { /* full declaration omitted */ };
Description
Generic_GCC - A tool chain using the 'gcc' command to perform all subcommands; this relies on gcc translating the majority of command line options.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:53
Inherits from: Generic_ELF
Member Variables
Inherited from Generic_GCC:
Inherited from ToolChain:
Method Overview
- public void AddCXXStdlibLibArgs(const llvm::opt::ArgList & Args, llvm::opt::ArgStringList & CmdArgs) const
- public void AddClangSystemIncludeArgs(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
- public clang::driver::ToolChain::CXXStdlibType GetDefaultCXXStdlibType() const
- public unsigned int GetDefaultDwarfVersion() const
- public clang::driver::ToolChain::RuntimeLibType GetDefaultRuntimeLibType() const
- public LangOptions::StackProtectorMode GetDefaultStackProtectorLevel(bool KernelOrKext) const
- public bool HasNativeLLVMSupport() const
- public bool IsMathErrnoDefault() const
- public bool IsObjCNonFragileABIDefault() const
- public bool IsUnwindTablesDefault(const llvm::opt::ArgList & Args) const
- public OpenBSD(const clang::driver::Driver & D, const llvm::Triple & Triple, const llvm::opt::ArgList & Args)
- public void addLibCxxIncludePaths(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
- protected clang::driver::Tool * buildAssembler() const
- protected clang::driver::Tool * buildLinker() const
- public std::string getCompilerRT(const llvm::opt::ArgList & Args, llvm::StringRef Component, clang::driver::ToolChain::FileType Type = ToolChain::FT_Static) const
- public clang::SanitizerMask getSupportedSanitizers() const
- public bool isPIEDefault(const llvm::opt::ArgList & Args) const
Inherited from Generic_ELF:
Inherited from Generic_GCC:
- protected AddClangCXXStdlibIncludeArgs
- protected AddMultiarchPaths
- protected AddMultilibIncludeArgs
- protected AddMultilibPaths
- public IsIntegratedAssemblerDefault
- public IsUnwindTablesDefault
- protected PushPPaths
- public TranslateArgs
- protected addGCCLibStdCxxIncludePaths
- protected addLibCxxIncludePaths
- protected addLibStdCXXIncludePaths
- protected addLibStdCxxIncludePaths
- protected buildAssembler
- protected buildLinker
- protected getTool
- public isPICDefault
- public isPICDefaultForced
- public isPIEDefault
- protected isTarget32Bit
- protected isTarget64Bit
- public printVerboseInfo
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) const
Description
AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:79
Parameters
- const llvm::opt::ArgList& Args
- llvm::opt::ArgStringList& CmdArgs
¶void AddClangSystemIncludeArgs(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) const
void AddClangSystemIncludeArgs(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) const
Description
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/OpenBSD.h:74
Parameters
- const llvm::opt::ArgList& DriverArgs
- llvm::opt::ArgStringList& CC1Args
¶clang::driver::ToolChain::CXXStdlibType
GetDefaultCXXStdlibType() const
clang::driver::ToolChain::CXXStdlibType
GetDefaultCXXStdlibType() const
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:69
¶unsigned int GetDefaultDwarfVersion() const
unsigned int GetDefaultDwarfVersion() const
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:91
¶clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() const
clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() const
Description
GetDefaultRuntimeLibType - Get the default runtime library variant to use.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:66
¶LangOptions::StackProtectorMode
GetDefaultStackProtectorLevel(
bool KernelOrKext) const
LangOptions::StackProtectorMode
GetDefaultStackProtectorLevel(
bool KernelOrKext) const
Description
GetDefaultStackProtectorLevel - Get the default stack protector level for this tool chain.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:88
Parameters
- bool KernelOrKext
¶bool HasNativeLLVMSupport() const
bool HasNativeLLVMSupport() const
Description
HasNativeLTOLinker - Check whether the linker and related tools have native LLVM support.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:58
¶bool IsMathErrnoDefault() const
bool IsMathErrnoDefault() const
Description
IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:60
¶bool IsObjCNonFragileABIDefault() const
bool IsObjCNonFragileABIDefault() const
Description
IsObjCNonFragileABIDefault - Does this tool chain set -fobjc-nonfragile-abi by default.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:61
¶bool IsUnwindTablesDefault(
const llvm::opt::ArgList& Args) const
bool IsUnwindTablesDefault(
const llvm::opt::ArgList& Args) const
Description
IsUnwindTablesDefault - Does this tool chain use -funwind-tables by default.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:85
Parameters
- const llvm::opt::ArgList& Args
¶OpenBSD(const clang::driver::Driver& D,
const llvm::Triple& Triple,
const llvm::opt::ArgList& Args)
OpenBSD(const clang::driver::Driver& D,
const llvm::Triple& Triple,
const llvm::opt::ArgList& Args)
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:55
Parameters
- const clang::driver::Driver& D
- const llvm::Triple& Triple
- const llvm::opt::ArgList& Args
¶void addLibCxxIncludePaths(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) const
void addLibCxxIncludePaths(
const llvm::opt::ArgList& DriverArgs,
llvm::opt::ArgStringList& CC1Args) const
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:77
Parameters
- const llvm::opt::ArgList& DriverArgs
- llvm::opt::ArgStringList& CC1Args
¶clang::driver::Tool* buildAssembler() const
clang::driver::Tool* buildAssembler() const
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:96
¶clang::driver::Tool* buildLinker() const
clang::driver::Tool* buildLinker() const
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:97
¶std::string getCompilerRT(
const llvm::opt::ArgList& Args,
llvm::StringRef Component,
clang::driver::ToolChain::FileType Type =
ToolChain::FT_Static) const
std::string getCompilerRT(
const llvm::opt::ArgList& Args,
llvm::StringRef Component,
clang::driver::ToolChain::FileType Type =
ToolChain::FT_Static) const
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:82
Parameters
- const llvm::opt::ArgList& Args
- llvm::StringRef Component
- clang::driver::ToolChain::FileType Type = ToolChain::FT_Static
¶clang::SanitizerMask getSupportedSanitizers()
const
clang::SanitizerMask getSupportedSanitizers()
const
Description
Return sanitizers which are available in this toolchain.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:93
¶bool isPIEDefault(
const llvm::opt::ArgList& Args) const
bool isPIEDefault(
const llvm::opt::ArgList& Args) const
Description
Test whether this toolchain defaults to PIE.
Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:62
Parameters
- const llvm::opt::ArgList& Args