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 | 2ac2197a0fcfd3ebd269f94b6d97cac948cd60ee (patch) | |
tree | b0f15e8a811a6c2b87a7701d3749ce0e47a59b4b /llvm | |
parent | 5662b21db1ec54fd40e1995b814ee7c34ec6baf0 (diff) | |
download | bcm5719-llvm-2ac2197a0fcfd3ebd269f94b6d97cac948cd60ee.tar.gz bcm5719-llvm-2ac2197a0fcfd3ebd269f94b6d97cac948cd60ee.zip |
Adjust correct EH-related sections
llvm-svn: 36627
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index fd8af4f69a7..abe66831933 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/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: |