diff options
author | Devang Patel <dpatel@apple.com> | 2010-07-07 22:20:57 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-07-07 22:20:57 +0000 |
commit | a37a95ea2f878b2050c53c7f6987ad4bf1646848 (patch) | |
tree | e3a2a25d8b12323da54c7714becd881fee99c15e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 1c349f18f824f5be8e380b75e51f6189b1483a37 (diff) | |
download | bcm5719-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.h | 3 |
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; |