Lines Matching defs:FreeBSD
1 //===--- FreeBSD.cpp - FreeBSD ToolChain Implementations --------*- C++ -*-===//
9 #include "FreeBSD.h"
36 // When building 32-bit code on FreeBSD/amd64, we have to explicitly
142 const toolchains::FreeBSD &ToolChain =
143 static_cast<const toolchains::FreeBSD &>(getToolChain());
375 /// FreeBSD - FreeBSD tool chain which can call as(1) and ld(1) directly.
377 FreeBSD::FreeBSD(const Driver &D, const llvm::Triple &Triple,
391 ToolChain::CXXStdlibType FreeBSD::GetDefaultCXXStdlibType() const {
397 unsigned FreeBSD::GetDefaultDwarfVersion() const {
403 void FreeBSD::addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
409 void FreeBSD::addLibStdCxxIncludePaths(
416 void FreeBSD::AddCXXStdlibLibArgs(const ArgList &Args,
432 void FreeBSD::AddCudaIncludeArgs(const ArgList &DriverArgs,
437 void FreeBSD::AddHIPIncludeArgs(const ArgList &DriverArgs,
442 Tool *FreeBSD::buildAssembler() const {
446 Tool *FreeBSD::buildLinker() const { return new tools::freebsd::Linker(*this); }
448 llvm::ExceptionHandling FreeBSD::GetExceptionModel(const ArgList &Args) const {
449 // FreeBSD uses SjLj exceptions on ARM oabi.
463 bool FreeBSD::HasNativeLLVMSupport() const { return true; }
465 bool FreeBSD::IsUnwindTablesDefault(const ArgList &Args) const { return true; }
467 bool FreeBSD::isPIEDefault() const { return getSanitizerArgs().requiresPIE(); }
469 SanitizerMask FreeBSD::getSupportedSanitizers() const {
499 void FreeBSD::addClangTargetOptions(const ArgList &DriverArgs,