diff options
author | Eric Christopher <echristo@gmail.com> | 2012-11-27 00:41:54 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-11-27 00:41:54 +0000 |
commit | 4c9b119d64c5ab7a9ce8d57df6e5fc5ff9866a22 (patch) | |
tree | 0f865bfdaf98ca30cc0247f70400b089e1c3dbb7 | |
parent | 149209ec4c785e889ccfd5f6eade9b3b7bf95b74 (diff) | |
download | bcm5719-llvm-4c9b119d64c5ab7a9ce8d57df6e5fc5ff9866a22.tar.gz bcm5719-llvm-4c9b119d64c5ab7a9ce8d57df6e5fc5ff9866a22.zip |
Add in sections for the fission case (no change so incorrect) and
add a TODO for starting.
llvm-svn: 168643
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index d7733846d1e..ca393c9b961 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -903,8 +903,39 @@ void DwarfDebug::endModule() { // Emit initial sections. emitSectionLabels(); - // Emit all the DIEs into a debug info section if (!useDwarfFission()) { + // Emit all the DIEs into a debug info section. + emitDebugInfo(); + + // Corresponding abbreviations into a abbrev section. + emitAbbreviations(); + + // 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(); + + // Emit inline info. + // TODO: When we don't need the option anymore we + // can remove all of the code that this section + // depends upon. + if (useDarwinGDBCompat()) + emitDebugInlineInfo(); + + // Emit info into a debug str section. + emitDebugStr(); + } else { + // TODO: Fill this in for Fission sections and separate + // out information into new sections. + + // Emit all the DIEs into a debug info section. emitDebugInfo(); // Corresponding abbreviations into a abbrev section. |