Use only 1 knob to enable exceptions on Darwin :).

llvm-svn: 41208
This commit is contained in:
Anton Korobeynikov 2007-08-21 00:31:30 +00:00
parent b5933bbbd5
commit f335679b52
1 changed files with 8 additions and 0 deletions

View File

@ -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: