projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97de913
)
Adjust correct EH-related sections
author
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 1 May 2007 10:16:06 +0000
(10:16 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 1 May 2007 10:16:06 +0000
(10:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36627
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetAsmInfo.cpp
b/lib/Target/X86/X86TargetAsmInfo.cpp
index fd8af4f69a7f3e670c8d3459d75798e0388de64f..abe6683193378479985d0128e06447bb1563753b 100644
(file)
--- 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: