From: Anton Korobeynikov Date: Tue, 1 May 2007 10:16:06 +0000 (+0000) Subject: Adjust correct EH-related sections X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=71144d8428e3d656ad37ff594c0978fe39824b0a;p=oota-llvm.git Adjust correct EH-related sections git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36627 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index fd8af4f69a7..abe66831933 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -121,6 +121,10 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) { DwarfARangesSection = "\t.section\t.debug_aranges,\"\",@progbits"; DwarfRangesSection = "\t.section\t.debug_ranges,\"\",@progbits"; DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"\",@progbits"; + + SupportsExceptionHandling = true; + DwarfEHFrameSection = "\t.section\t.eh_frame,\"aw\",@progbits"; + DwarfExceptionSection = "\t.section\t.gcc_except_table,\"a\",@progbits"; break; case X86Subtarget::isCygwin: