[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetAsmInfo.cpp

Anton Korobeynikov asl at math.spbu.ru
Tue May 1 03:16:26 PDT 2007



Changes in directory llvm/lib/Target/X86:

X86TargetAsmInfo.cpp updated: 1.36 -> 1.37
---
Log message:

Adjust correct EH-related sections


---
Diffs of the changes:  (+4 -0)

 X86TargetAsmInfo.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff -u llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.36 llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.37
--- llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.36	Wed Apr 25 09:27:10 2007
+++ llvm/lib/Target/X86/X86TargetAsmInfo.cpp	Tue May  1 05:16:06 2007
@@ -121,6 +121,10 @@
     DwarfARangesSection = "\t.section\t.debug_aranges,\"\", at progbits";
     DwarfRangesSection =  "\t.section\t.debug_ranges,\"\", at progbits";
     DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"\", at progbits";
+    
+    SupportsExceptionHandling = true;
+    DwarfEHFrameSection = "\t.section\t.eh_frame,\"aw\", at progbits";
+    DwarfExceptionSection = "\t.section\t.gcc_except_table,\"a\", at progbits";
     break;
 
   case X86Subtarget::isCygwin:






More information about the llvm-commits mailing list