clang API Documentation

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

#include <ToolChains.h>

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

List of all members.

Public Member Functions

 FreeBSD (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
 FreeBSD - FreeBSD tool chain which can call as(1) and ld(1) directly.
bool HasNativeLLVMSupport () const override
bool IsMathErrnoDefault () const override
 IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.
bool IsObjCNonFragileABIDefault () const override
CXXStdlibType GetCXXStdlibType (const llvm::opt::ArgList &Args) const override
void AddClangCXXStdlibIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
bool IsIntegratedAssemblerDefault () const override
bool UseSjLjExceptions () const override
 UseSjLjExceptions - Does this tool chain use SjLj exceptions.
bool isPIEDefault () const override
 Test whether this toolchain defaults to PIE.

Protected Member Functions

ToolbuildAssembler () const override
ToolbuildLinker () const override

Detailed Description

Definition at line 576 of file ToolChains.h.


Constructor & Destructor Documentation

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

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

Definition at line 2433 of file ToolChains.cpp.

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


Member Function Documentation

void FreeBSD::AddClangCXXStdlibIncludeArgs ( const llvm::opt::ArgList &  DriverArgs,
llvm::opt::ArgStringList &  CC1Args 
) const [override, virtual]

AddClangCXXStdlibIncludeArgs - Add the clang -cc1 level arguments to set the include paths to use for the given C++ standard library type.

Reimplemented from clang::driver::ToolChain.

Definition at line 2463 of file ToolChains.cpp.

References clang::driver::ToolChain::addSystemInclude(), clang::driver::ToolChain::CST_Libcxx, clang::driver::ToolChain::CST_Libstdcxx, GetCXXStdlibType(), and clang::driver::ToolChain::getDriver().

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

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

Definition at line 2483 of file ToolChains.cpp.

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

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

Definition at line 2487 of file ToolChains.cpp.

ToolChain::CXXStdlibType FreeBSD::GetCXXStdlibType ( const llvm::opt::ArgList &  Args) const [override, virtual]
bool FreeBSD::HasNativeLLVMSupport ( ) const [override, virtual]

HasNativeLTOLinker - Check whether the linker and related tools have native LLVM support.

Reimplemented from clang::driver::ToolChain.

Definition at line 2505 of file ToolChains.cpp.

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

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

Definition at line 589 of file ToolChains.h.

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

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

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

Reimplemented from clang::driver::ToolChain.

Definition at line 582 of file ToolChains.h.

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

Reimplemented from clang::driver::ToolChain.

Definition at line 583 of file ToolChains.h.

bool FreeBSD::isPIEDefault ( ) const [override, virtual]
bool FreeBSD::UseSjLjExceptions ( ) const [override, virtual]

UseSjLjExceptions - Does this tool chain use SjLj exceptions.

Reimplemented from clang::driver::ToolChain.

Definition at line 2491 of file ToolChains.cpp.

References clang::driver::ToolChain::getArch(), and clang::driver::ToolChain::getTriple().


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