Pull some code out into functions to make rearranging them a bit easier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2012-11-22 00:59:49 +00:00
parent 72a2c0622a
commit 4117bec41b
2 changed files with 86 additions and 49 deletions

View File

@@ -367,6 +367,21 @@ private:
///
void computeSizeAndOffsets();
/// computeInlinedDIEs - Attach DW_AT_inline attribute with inlined
/// subprogram DIEs.
void computeInlinedDIEs();
/// collectDeadVariables - Collect info for variables that were optimized out.
void collectDeadVariables();
/// finalizeModuleInfo - Finish off debug information after all functions
/// have been processed.
void finalizeModuleInfo();
/// endSections - Emit labels to close any remaining sections that have
/// been left open.
void endSections();
/// EmitDebugInfo - Emit the debug info section.
///
void emitDebugInfo();