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:

protected GCCInstallation
protected CudaInstallation
protected RocmInstallation

Inherited from ToolChain:

protected Multilibs
protected SelectedMultilib

Method Overview

Inherited from Generic_ELF:

Inherited from Generic_GCC:

Inherited from ToolChain:

Methods

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

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

Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:69

unsigned int GetDefaultDwarfVersion() const

Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:91

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

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

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

Description

IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.

Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:60

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

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)

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

Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:77

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

clang::driver::Tool* buildAssembler() const

Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:96

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

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

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

Description

Test whether this toolchain defaults to PIE.

Declared at: clang/lib/Driver/ToolChains/OpenBSD.h:62

Parameters

const llvm::opt::ArgList& Args