diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index c03915aad12..738f117ad0b 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -219,6 +219,11 @@ public: /// \brief Add a unit to the list of CUs. void addUnit(CompileUnit *CU) { CUs.push_back(CU); } + + /// \brief Emit all of the units to the section listed with the given + /// abbreviation section. + void emitUnits(DwarfDebug *, const MCSection *, const MCSection *, + const MCSymbol *); }; /// \brief Collects and handles dwarf debug information. @@ -394,9 +399,6 @@ private: /// \brief Emit initial Dwarf sections with a label at the start of each one. void emitSectionLabels(); - /// \brief Recursively Emits a debug information entry. - void emitDIE(DIE *Die); - /// \brief Compute the size and offset of a DIE given an incoming Offset. unsigned computeSizeAndOffset(DIE *Die, unsigned Offset); @@ -417,9 +419,6 @@ private: /// open. void endSections(); - /// \brief Emit all of the compile units to the target section. - void emitCompileUnits(const MCSection *); - /// \brief Emit the debug info section. void emitDebugInfo(); @@ -569,6 +568,9 @@ public: /// string text. MCSymbol *getStringPoolEntry(StringRef Str); + /// \brief Recursively Emits a debug information entry. + void emitDIE(DIE *Die); + /// \brief Returns whether or not to limit some of our debug /// output to the limitations of darwin gdb. bool useDarwinGDBCompat() { return IsDarwinGDBCompat; } |