[llvm-commits] [llvm] r168643 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Eric Christopher
echristo at gmail.com
Mon Nov 26 16:41:54 PST 2012
Author: echristo
Date: Mon Nov 26 18:41:54 2012
New Revision: 168643
URL: http://llvm.org/viewvc/llvm-project?rev=168643&view=rev
Log:
Add in sections for the fission case (no change so incorrect) and
add a TODO for starting.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=168643&r1=168642&r2=168643&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Nov 26 18:41:54 2012
@@ -903,8 +903,39 @@
// 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.
More information about the llvm-commits
mailing list