diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-05-01 10:16:06 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-05-01 10:16:06 +0000 |
commit | 71144d8428e3d656ad37ff594c0978fe39824b0a (patch) | |
tree | ff8a45dd50c4ecb83d13d091721f02c8a887ed64 | |
parent | 97de9138217d6f76f25100df272ec1a3c4d31aad (diff) | |
download | llvm-71144d8428e3d656ad37ff594c0978fe39824b0a.tar.gz llvm-71144d8428e3d656ad37ff594c0978fe39824b0a.tar.bz2 llvm-71144d8428e3d656ad37ff594c0978fe39824b0a.tar.xz |
Adjust correct EH-related sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36627 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86TargetAsmInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index fd8af4f69a..abe6683193 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: |