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

is added.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-01-17 20:41:40 +00:00
parent f90a87a442
commit 19ef4efa70
3 changed files with 147 additions and 3 deletions

View File

@ -215,9 +215,17 @@ namespace {
: 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";
}