diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 580262039de..38bfaf6fe91 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -163,10 +163,6 @@ class DwarfDebug : public Dwarf { SmallPtrSet<DIE *, 4> TopLevelDIEs; SmallVector<DIE *, 4> TopLevelDIEsVector; - /// ScopedGVs - Tracks global variables that are not at file scope. - /// For example void f() { static int b = 42; } - SmallVector<WeakVH, 4> ScopedGVs; - typedef SmallVector<DbgScope *, 2> ScopeVector; typedef DenseMap<const MachineInstr *, ScopeVector> InsnToDbgScopeMapTy; @@ -313,6 +309,9 @@ class DwarfDebug : public Dwarf { void addBlockByrefAddress(DbgVariable *&DV, DIE *Die, unsigned Attribute, const MachineLocation &Location); + /// addToContextOwner - Add Die into the list of its context owner's children. + void addToContextOwner(DIE *Die, DIDescriptor Context); + /// addType - Add a new type attribute to the specified entity. void addType(DIE *Entity, DIType Ty); |