ToolChains.cpp (244628) | ToolChains.cpp (244640) |
---|---|
1//===--- ToolChains.cpp - ToolChain Implementations -----------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 1653 unchanged lines hidden (view full) --- 1662 default: 1663 T = &Generic_GCC::SelectTool(C, JA, Inputs); 1664 } 1665 } 1666 1667 return *T; 1668} 1669 | 1//===--- ToolChains.cpp - ToolChain Implementations -----------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 1653 unchanged lines hidden (view full) --- 1662 default: 1663 T = &Generic_GCC::SelectTool(C, JA, Inputs); 1664 } 1665 } 1666 1667 return *T; 1668} 1669 |
1670bool FreeBSD::UseSjLjExceptions() const { 1671 // FreeBSD uses SjLj exceptions on ARM oabi. 1672 switch (getTriple().getEnvironment()) { 1673 case llvm::Triple::GNUEABI: 1674 case llvm::Triple::EABI: 1675 return false; 1676 1677 default: 1678 return (getTriple().getArch() == llvm::Triple::arm || 1679 getTriple().getArch() == llvm::Triple::thumb); 1680 } 1681} 1682 |
|
1670/// NetBSD - NetBSD tool chain which can call as(1) and ld(1) directly. 1671 1672NetBSD::NetBSD(const Driver &D, const llvm::Triple& Triple, const ArgList &Args) 1673 : Generic_ELF(D, Triple, Args) { 1674 1675 if (getDriver().UseStdLib) { 1676 // When targeting a 32-bit platform, try the special directory used on 1677 // 64-bit hosts, and only fall back to the main library directory if that --- 754 unchanged lines hidden --- | 1683/// NetBSD - NetBSD tool chain which can call as(1) and ld(1) directly. 1684 1685NetBSD::NetBSD(const Driver &D, const llvm::Triple& Triple, const ArgList &Args) 1686 : Generic_ELF(D, Triple, Args) { 1687 1688 if (getDriver().UseStdLib) { 1689 // When targeting a 32-bit platform, try the special directory used on 1690 // 64-bit hosts, and only fall back to the main library directory if that --- 754 unchanged lines hidden --- |