[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

Jim Laskey jlaskey at apple.com
Tue Jan 17 12:41:53 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCAsmPrinter.cpp updated: 1.137 -> 1.138
---
Log message:

Add frame work for additional dwarf sections.  Comments will improve as code
is added.


---
Diffs of the changes:  (+11 -3)

 PPCAsmPrinter.cpp |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.137 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.138
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.137	Tue Jan 17 11:31:53 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp	Tue Jan 17 14:41:40 2006
@@ -215,9 +215,17 @@
     : DwarfWriter(o, ap)
     {
       needsSet = true;
-      DwarfAbbrevSection = ".section __DWARF,__debug_abbrev,regular,debug";
-      DwarfInfoSection = ".section __DWARF,__debug_info,regular,debug";
-      DwarfLineSection = ".section __DWARF,__debug_line,regular,debug";
+      DwarfAbbrevSection = ".section __DWARFA,__debug_abbrev,regular,debug";
+      DwarfInfoSection = ".section __DWARFA,__debug_info,regular,debug";
+      DwarfLineSection = ".section __DWARFA,__debug_line,regular,debug";
+      DwarfFrameSection = ".section __DWARFA,__debug_frame,regular,debug";
+      DwarfPubNamesSection = ".section __DWARFA,__debug_pubnames,regular,debug";
+      DwarfPubTypesSection = ".section __DWARFA,__debug_pubtypes,regular,debug";
+      DwarfStrSection = ".section __DWARFA,__debug_str,regular,debug";
+      DwarfLocSection = ".section __DWARFA,__debug_loc,regular,debug";
+      DwarfARangesSection = ".section __DWARFA,__debug_aranges,regular,debug";
+      DwarfRangesSection = ".section __DWARFA,__debug_ranges,regular,debug";
+      DwarfMacInfoSection = ".section __DWARFA,__debug_macinfo,regular,debug";
       TextSection = ".text";
       DataSection = ".data";
     }






More information about the llvm-commits mailing list