clang API Documentation

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

#include <ToolChains.h>

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

List of all members.

Public Member Functions

 Bitrig (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
 Bitrig - Bitrig 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
CXXStdlibType GetCXXStdlibType (const llvm::opt::ArgList &Args) const override
void AddClangCXXStdlibIncludeArgs (const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const override
void AddCXXStdlibLibArgs (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override
unsigned GetDefaultStackProtectorLevel (bool KernelOrKext) const override

Protected Member Functions

ToolbuildAssembler () const override
ToolbuildLinker () const override

Detailed Description

Definition at line 553 of file ToolChains.h.


Constructor & Destructor Documentation

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

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

Definition at line 2358 of file ToolChains.cpp.

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


Member Function Documentation

void Bitrig::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 2387 of file ToolChains.cpp.

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

void Bitrig::AddCXXStdlibLibArgs ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const [override, virtual]

AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.

Reimplemented from clang::driver::ToolChain.

Definition at line 2417 of file ToolChains.cpp.

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

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

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

Definition at line 2364 of file ToolChains.cpp.

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

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

Definition at line 2368 of file ToolChains.cpp.

ToolChain::CXXStdlibType Bitrig::GetCXXStdlibType ( const llvm::opt::ArgList &  Args) const [override, virtual]
unsigned clang::driver::toolchains::Bitrig::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 567 of file ToolChains.h.

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

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

Reimplemented from clang::driver::ToolChain.

Definition at line 558 of file ToolChains.h.

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

Reimplemented from clang::driver::ToolChain.

Definition at line 559 of file ToolChains.h.


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