aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-16 23:33:45 +0000
committerDevang Patel <dpatel@apple.com>2010-04-16 23:33:45 +0000
commitf2548caaa8b290aa598bf49c27dff72f7751ba5c (patch)
tree7c78f9dc2f734a62f7264ce6b77901ad09742630 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parentcf7fbd41be73c2738ee07fded656d23f798976df (diff)
Add support to emit dwarf ranges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index b42232b5d1..bfd6f48d2e 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -196,9 +196,12 @@ class DwarfDebug {
/// instruction.
DenseMap<const MachineInstr *, MCSymbol *> InsnAfterLabelMap;
+ SmallVector<const MCSymbol *, 8> DebugRangeSymbols;
+
/// Previous instruction's location information. This is used to determine
/// label location to indicate scope boundries in dwarf debug info.
DebugLoc PrevInstLoc;
+ MCSymbol *PrevLabel;
struct FunctionDebugFrameInfo {
unsigned Number;
@@ -214,7 +217,7 @@ class DwarfDebug {
// the beginning of each supported dwarf section. These are used to form
// section offsets and are created by EmitSectionLabels.
MCSymbol *DwarfFrameSectionSym, *DwarfInfoSectionSym, *DwarfAbbrevSectionSym;
- MCSymbol *DwarfStrSectionSym, *TextSectionSym;
+ MCSymbol *DwarfStrSectionSym, *TextSectionSym, *DwarfDebugRangeSectionSym;
private: