Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.6 -> 1.7 --- Log message: Add frame work for additional dwarf sections. Comments will improve as code is added. --- Diffs of the changes: (+72 -0) DwarfWriter.cpp | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 72 insertions(+) Index: llvm/lib/CodeGen/DwarfWriter.cpp diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.6 llvm/lib/CodeGen/DwarfWriter.cpp:1.7 --- llvm/lib/CodeGen/DwarfWriter.cpp:1.6 Tue Jan 17 11:31:53 2006 +++ llvm/lib/CodeGen/DwarfWriter.cpp Tue Jan 17 14:41:40 2006 @@ -1293,6 +1293,46 @@ EmitLabel("line_end", 0); } + +/// EmitDebugFrame - Emit visible names into a debug frame section. +/// +void DwarfWriter::EmitDebugFrame() { +} + +/// EmitDebugPubNames - Emit visible names into a debug pubnames section. +/// +void DwarfWriter::EmitDebugPubNames() { +} + +/// EmitDebugPubTypes - Emit visible names into a debug pubtypes section. +/// +void DwarfWriter::EmitDebugPubTypes() { +} + +/// EmitDebugStr - Emit visible names into a debug str section. +/// +void DwarfWriter::EmitDebugStr() { +} + +/// EmitDebugLoc - Emit visible names into a debug loc section. +/// +void DwarfWriter::EmitDebugLoc() { +} + +/// EmitDebugARanges - Emit visible names into a debug aranges section. +/// +void DwarfWriter::EmitDebugARanges() { +} + +/// EmitDebugRanges - Emit visible names into a debug ranges section. +/// +void DwarfWriter::EmitDebugRanges() { +} + +/// EmitDebugMacInfo - Emit visible names into a debug macinfo section. +/// +void DwarfWriter::EmitDebugMacInfo() { +} /// ShouldEmitDwarf - Determine if Dwarf declarations should be made. /// @@ -1329,6 +1369,14 @@ , DwarfAbbrevSection(".debug_abbrev") , DwarfInfoSection(".debug_info") , DwarfLineSection(".debug_line") + , DwarfFrameSection(".debug_frame") + , DwarfPubNamesSection(".debug_pubnames") + , DwarfPubTypesSection(".debug_pubtypes") + , DwarfStrSection(".debug_str") + , DwarfLocSection(".debug_loc") + , DwarfARangesSection(".debug_aranges") + , DwarfRangesSection(".debug_ranges") + , DwarfMacInfoSection(".debug_macinfo") , TextSection(".text") , DataSection(".data") {} @@ -1377,6 +1425,30 @@ // Emit source line correspondence into a debug line section. EmitDebugLines(); + + // Emit info into a debug frame section. + EmitDebugFrame(); + + // Emit info into a debug pubnames section. + EmitDebugPubNames(); + + // Emit info into a debug pubtypes section. + EmitDebugPubTypes(); + + // Emit info into a debug str section. + EmitDebugStr(); + + // Emit info into a debug loc section. + EmitDebugLoc(); + + // Emit info into a debug aranges section. + EmitDebugARanges(); + + // Emit info into a debug ranges section. + EmitDebugRanges(); + + // Emit info into a debug macinfo section. + EmitDebugMacInfo(); } /// BeginFunction - Emit pre-function debug information. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits