mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-03 02:08:54 +00:00
Do not construct DIE for already processed MDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
170c41f3d5
commit
90e19aad7d
@ -2766,7 +2766,8 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
||||
}
|
||||
}
|
||||
}
|
||||
constructScopeDIE(*AI);
|
||||
if (ProcessedSPNodes.count((*AI)->getScopeNode()) == 0)
|
||||
constructScopeDIE(*AI);
|
||||
}
|
||||
|
||||
DIE *CurFnDIE = constructScopeDIE(CurrentFnDbgScope);
|
||||
|
Loading…
Reference in New Issue
Block a user