forked from OSchip/llvm-project
parent
f41ccef5eb
commit
2abed283e5
|
@ -1920,11 +1920,6 @@ void DwarfDebug::endModule() {
|
|||
addUInt(ISP, dwarf::DW_AT_inline, 0, dwarf::DW_INL_inlined);
|
||||
}
|
||||
|
||||
// Insert top level DIEs.
|
||||
for (SmallVector<DIE *, 4>::iterator TI = TopLevelDIEsVector.begin(),
|
||||
TE = TopLevelDIEsVector.end(); TI != TE; ++TI)
|
||||
ModuleCU->getCUDie()->addChild(*TI);
|
||||
|
||||
for (DenseMap<DIE *, MDNode *>::iterator CI = ContainingTypeMap.begin(),
|
||||
CE = ContainingTypeMap.end(); CI != CE; ++CI) {
|
||||
DIE *SPDie = CI->first;
|
||||
|
|
|
@ -178,10 +178,6 @@ class DwarfDebug {
|
|||
/// AbstractSubprogramDIEs - Collection of abstruct subprogram DIEs.
|
||||
SmallPtrSet<DIE *, 4> AbstractSubprogramDIEs;
|
||||
|
||||
/// TopLevelDIEs - Collection of top level DIEs.
|
||||
SmallPtrSet<DIE *, 4> TopLevelDIEs;
|
||||
SmallVector<DIE *, 4> TopLevelDIEsVector;
|
||||
|
||||
typedef SmallVector<DbgScope *, 2> ScopeVector;
|
||||
typedef DenseMap<const MachineInstr *, ScopeVector>
|
||||
InsnToDbgScopeMapTy;
|
||||
|
|
Loading…
Reference in New Issue