clang API Documentation
#include <ToolChains.h>
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 | |
Tool * | buildAssembler () const override |
Tool * | buildLinker () const override |
Definition at line 576 of file ToolChains.h.
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.
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] |
Reimplemented from clang::driver::ToolChain.
Definition at line 2447 of file ToolChains.cpp.
References clang::driver::ToolChain::CST_Libcxx, clang::driver::ToolChain::CST_Libstdcxx, clang::driver::Driver::Diag(), clang::driver::ToolChain::getDriver(), and clang::driver::ToolChain::getTriple().
Referenced by AddClangCXXStdlibIncludeArgs().
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.
bool clang::driver::toolchains::FreeBSD::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 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.
bool clang::driver::toolchains::FreeBSD::IsObjCNonFragileABIDefault | ( | ) | const [inline, override, virtual] |
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] |
Test whether this toolchain defaults to PIE.
Reimplemented from clang::driver::toolchains::Generic_GCC.
Definition at line 2509 of file ToolChains.cpp.
References clang::driver::ToolChain::getSanitizerArgs(), and clang::driver::SanitizerArgs::hasZeroBaseShadow().
Referenced by clang::driver::tools::freebsd::Link::ConstructJob().
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().