summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-07 17:10:13 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-07 17:10:13 +0000
commit37a0372fc4ac68e4b0b6f4e9c34b7f87ba896d83 (patch)
treec5ea9e714f93987289b815c024848a6e8e69b27c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent7a67f67823ca47b7a74cb78cc1a59213cbd6cf14 (diff)
downloadbcm5719-llvm-37a0372fc4ac68e4b0b6f4e9c34b7f87ba896d83.tar.gz
bcm5719-llvm-37a0372fc4ac68e4b0b6f4e9c34b7f87ba896d83.zip
Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.
llvm-svn: 97917
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 55baa921006..8d75b1ff937 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -66,10 +66,6 @@ class DwarfDebug : public DwarfPrinter {
/// compile units.
DenseMap<Value *, CompileUnit *> CompileUnitMap;
- /// CompileUnits - All the compile units in this module.
- ///
- SmallVector<CompileUnit *, 8> CompileUnits;
-
/// ModuleCU - All DIEs are inserted in ModuleCU.
CompileUnit *ModuleCU;
@@ -134,7 +130,8 @@ class DwarfDebug : public DwarfPrinter {
//
DbgScope *CurrentFnDbgScope;
- /// DbgScopeMap - Tracks the scopes in the current function.
+ /// DbgScopeMap - Tracks the scopes in the current function. Owns the
+ /// contained DbgScope*s.
///
DenseMap<MDNode *, DbgScope *> DbgScopeMap;
@@ -143,7 +140,7 @@ class DwarfDebug : public DwarfPrinter {
DenseMap<MDNode *, DbgScope *> ConcreteScopes;
/// AbstractScopes - Tracks the abstract scopes a module. These scopes are
- /// not included DbgScopeMap.
+ /// not included DbgScopeMap. AbstractScopes owns its DbgScope*s.
DenseMap<MDNode *, DbgScope *> AbstractScopes;
SmallVector<DbgScope *, 4>AbstractScopesList;
OpenPOWER on IntegriCloud