clang API Documentation

Public Member Functions | Protected Member Functions
clang::driver::toolchains::OpenBSD Class Reference

#include <ToolChains.h>

Inheritance diagram for clang::driver::toolchains::OpenBSD:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::toolchains::OpenBSD:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OpenBSD (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
 OpenBSD - OpenBSD tool chain which can call as(1) and ld(1) directly.
bool IsMathErrnoDefault () const override
 IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.
bool IsObjCNonFragileABIDefault () const override
bool isPIEDefault () const override
 Test whether this toolchain defaults to PIE.
unsigned GetDefaultStackProtectorLevel (bool KernelOrKext) const override
virtual bool IsIntegratedAssemblerDefault () const override

Protected Member Functions

ToolbuildAssembler () const override
ToolbuildLinker () const override

Detailed Description

Definition at line 524 of file ToolChains.h.


Constructor & Destructor Documentation

OpenBSD::OpenBSD ( const Driver D,
const llvm::Triple &  Triple,
const llvm::opt::ArgList &  Args 
)

OpenBSD - OpenBSD tool chain which can call as(1) and ld(1) directly.

Definition at line 2342 of file ToolChains.cpp.

References clang::driver::ToolChain::getDriver(), and clang::driver::ToolChain::getFilePaths().


Member Function Documentation

Tool * OpenBSD::buildAssembler ( ) const [override, protected, virtual]

Reimplemented from clang::driver::toolchains::Generic_GCC.

Definition at line 2348 of file ToolChains.cpp.

Tool * OpenBSD::buildLinker ( ) const [override, protected, virtual]

Reimplemented from clang::driver::toolchains::Generic_GCC.

Definition at line 2352 of file ToolChains.cpp.

unsigned clang::driver::toolchains::OpenBSD::GetDefaultStackProtectorLevel ( bool  KernelOrKext) const [inline, override, virtual]

GetDefaultStackProtectorLevel - Get the default stack protector level for this tool chain (0=off, 1=on, 2=strong, 3=all).

Reimplemented from clang::driver::ToolChain.

Definition at line 533 of file ToolChains.h.

virtual bool clang::driver::toolchains::OpenBSD::IsIntegratedAssemblerDefault ( ) const [inline, override, virtual]

IsIntegratedAssemblerDefault - Does this tool chain enable -integrated-as by default.

Reimplemented from clang::driver::toolchains::Generic_GCC.

Definition at line 537 of file ToolChains.h.

References clang::driver::toolchains::Generic_GCC::IsIntegratedAssemblerDefault().

bool clang::driver::toolchains::OpenBSD::IsMathErrnoDefault ( ) const [inline, override, virtual]

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

Reimplemented from clang::driver::ToolChain.

Definition at line 529 of file ToolChains.h.

IsObjCNonFragileABIDefault - Does this tool chain set -fobjc-nonfragile-abi by default.

Reimplemented from clang::driver::ToolChain.

Definition at line 530 of file ToolChains.h.

bool clang::driver::toolchains::OpenBSD::isPIEDefault ( ) const [inline, override, virtual]

Test whether this toolchain defaults to PIE.

Reimplemented from clang::driver::toolchains::Generic_GCC.

Definition at line 531 of file ToolChains.h.


The documentation for this class was generated from the following files: