summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-05-26 19:37:24 +0000
committerDevang Patel <dpatel@apple.com>2010-05-26 19:37:24 +0000
commit002d54ddc97c4976200933998c9d384b1ae38074 (patch)
treefb2d1cd2b77dfe5d1f5e6e467534e95467400941 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent40c7ef90b21d52e0f0c303ddca6a757f9829781f (diff)
downloadbcm5719-llvm-002d54ddc97c4976200933998c9d384b1ae38074.tar.gz
bcm5719-llvm-002d54ddc97c4976200933998c9d384b1ae38074.zip
Identify instructions, that needs a label to mark debug info entity, in advance. This simplifies beginScope().
llvm-svn: 104720
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 5d2294918e6..0d6116fc986 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -227,6 +227,13 @@ class DwarfDebug {
/// instruction.
DenseMap<const MachineInstr *, MCSymbol *> LabelsAfterInsn;
+ /// insnNeedsLabel - Collection of instructions that need a label to mark
+ /// a debuggging information entity.
+ SmallPtrSet<const MachineInstr *, 8> InsnNeedsLabel;
+
+ /// ProcessedArgs - Collection of arguments already processed.
+ SmallPtrSet<const MDNode *, 8> ProcessedArgs;
+
SmallVector<const MCSymbol *, 8> DebugRangeSymbols;
/// Previous instruction's location information. This is used to determine
OpenPOWER on IntegriCloud