mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
Clear function specific containers while processing end of a function, even if DW_TAG_subprogram for current function is not found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2092,17 +2092,15 @@ void DwarfDebug::endFunction(MachineFunction *MF) {
|
||||
MMI->getFrameMoves()));
|
||||
|
||||
// Clear debug info
|
||||
if (CurrentFnDbgScope) {
|
||||
CurrentFnDbgScope = NULL;
|
||||
DbgScopeMap.clear();
|
||||
DbgScopeBeginMap.clear();
|
||||
DbgScopeEndMap.clear();
|
||||
ConcreteScopes.clear();
|
||||
AbstractScopesList.clear();
|
||||
}
|
||||
CurrentFnDbgScope = NULL;
|
||||
DbgScopeMap.clear();
|
||||
DbgScopeBeginMap.clear();
|
||||
DbgScopeEndMap.clear();
|
||||
ConcreteScopes.clear();
|
||||
AbstractScopesList.clear();
|
||||
|
||||
Lines.clear();
|
||||
|
||||
|
||||
if (TimePassesIsEnabled)
|
||||
DebugTimer->stopTimer();
|
||||
}
|
||||
|
Reference in New Issue
Block a user