clang API Documentation
#include <ToolChains.h>
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 | |
Tool * | buildAssembler () const override |
Tool * | buildLinker () const override |
Definition at line 553 of file ToolChains.h.
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().
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] |
Reimplemented from clang::driver::ToolChain.
Definition at line 2373 of file ToolChains.cpp.
References clang::driver::ToolChain::CST_Libcxx, clang::driver::ToolChain::CST_Libstdcxx, clang::driver::Driver::Diag(), and clang::driver::ToolChain::getDriver().
Referenced by AddClangCXXStdlibIncludeArgs(), and AddCXXStdlibLibArgs().
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.
bool clang::driver::toolchains::Bitrig::IsObjCNonFragileABIDefault | ( | ) | const [inline, override, virtual] |
IsObjCNonFragileABIDefault - Does this tool chain set -fobjc-nonfragile-abi by default.
Reimplemented from clang::driver::ToolChain.
Definition at line 559 of file ToolChains.h.