summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-07-07 22:20:57 +0000
committerDevang Patel <dpatel@apple.com>2010-07-07 22:20:57 +0000
commita37a95ea2f878b2050c53c7f6987ad4bf1646848 (patch)
treee3a2a25d8b12323da54c7714becd881fee99c15e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent1c349f18f824f5be8e380b75e51f6189b1483a37 (diff)
downloadbcm5719-llvm-a37a95ea2f878b2050c53c7f6987ad4bf1646848.tar.gz
bcm5719-llvm-a37a95ea2f878b2050c53c7f6987ad4bf1646848.zip
One MDNode may be used to create regular DIE as well as abstract DIE.
Keep track of abstract subprogram DIEs. llvm-svn: 107822
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 4ad3b23a70a..d57115ae1dc 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -156,6 +156,9 @@ class DwarfDebug {
/// not included DbgScopeMap. AbstractScopes owns its DbgScope*s.
DenseMap<const MDNode *, DbgScope *> AbstractScopes;
+ /// AbstractSPDies - Collection of abstract subprogram DIEs.
+ DenseMap<const MDNode *, DIE *> AbstractSPDies;
+
/// AbstractScopesList - Tracks abstract scopes constructed while processing
/// a function. This list is cleared during endFunction().
SmallVector<DbgScope *, 4>AbstractScopesList;
OpenPOWER on IntegriCloud