forked from OSchip/llvm-project
parent
84bd316bd6
commit
fe189e65d7
|
@ -2148,14 +2148,12 @@ void DwarfDebug::endFunction(MachineFunction *MF) {
|
|||
}
|
||||
|
||||
// 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)
|
||||
|
|
Loading…
Reference in New Issue