mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-22 05:51:42 +00:00
Use only 1 knob to enable exceptions on Darwin :).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41208 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7211a2ce1
commit
095546ce34
@ -95,6 +95,14 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
|
||||
DwarfARangesSection = ".section __DWARF,__debug_aranges,regular,debug";
|
||||
DwarfRangesSection = ".section __DWARF,__debug_ranges,regular,debug";
|
||||
DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug";
|
||||
|
||||
// Exceptions handling
|
||||
if (!Subtarget->is64Bit())
|
||||
SupportsExceptionHandling = true;
|
||||
AbsoluteEHSectionOffsets = false;
|
||||
DwarfEHFrameSection =
|
||||
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
|
||||
DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
|
||||
break;
|
||||
|
||||
case X86Subtarget::isELF:
|
||||
|
Loading…
x
Reference in New Issue
Block a user