aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-01-17 20:41:40 +0000
committerJim Laskey <jlaskey@mac.com>2006-01-17 20:41:40 +0000
commit19ef4efa70b29aa2ef2d68a60e9bdfa7a4b47d89 (patch)
tree90faae923b98d39ef52072ac48ff1988f47ff8e8 /lib/CodeGen/DwarfWriter.cpp
parentf90a87a44220d265299aaec4eba05defbb603da6 (diff)
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
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp72
1 files changed, 72 insertions, 0 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 67a6464e16..65b83bfedf 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/lib/CodeGen/DwarfWriter.cpp
@@ -1293,6 +1293,46 @@ void DwarfWriter::EmitDebugLines() const {
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 @@ bool DwarfWriter::ShouldEmitDwarf() {
, 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 @@ void DwarfWriter::EndModule() {
// 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.