mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Debug info: Remove OdrMemberMap from DwarfDebug, it's not necessary.
Follow-up to r203982. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -369,7 +369,6 @@ bool DwarfDebug::isSubprogramContext(const MDNode *Context) {
|
||||
// scope then create and insert DIEs for these variables.
|
||||
DIE *DwarfDebug::updateSubprogramScopeDIE(DwarfCompileUnit *SPCU,
|
||||
DISubprogram SP) {
|
||||
SP = SPCU->getOdrUniqueSubprogram(resolve(SP.getContext()), SP);
|
||||
DIE *SPDie = SPCU->getDIE(SP);
|
||||
|
||||
assert(SPDie && "Unable to find subprogram DIE!");
|
||||
@ -604,7 +603,8 @@ DIE *DwarfDebug::constructScopeDIE(DwarfCompileUnit *TheCU,
|
||||
if (!Scope || !Scope->getScopeNode())
|
||||
return NULL;
|
||||
|
||||
DIScope DS(Scope->getScopeNode());
|
||||
// Unique scope where applicable.
|
||||
DIScope DS(resolve(DIScope(Scope->getScopeNode()).getRef()));
|
||||
|
||||
SmallVector<DIE *, 8> Children;
|
||||
DIE *ObjectPointer = NULL;
|
||||
|
Reference in New Issue
Block a user