mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
Do not leak argument's DbgVariables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a6ea83f39
commit
eac0c9dc77
@ -2061,7 +2061,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
|||||||
|
|
||||||
// Clear debug info
|
// Clear debug info
|
||||||
CurrentFnDbgScope = NULL;
|
CurrentFnDbgScope = NULL;
|
||||||
CurrentFnArguments.clear();
|
DeleteContainerPointers(CurrentFnArguments);
|
||||||
DbgVariableToFrameIndexMap.clear();
|
DbgVariableToFrameIndexMap.clear();
|
||||||
VarToAbstractVarMap.clear();
|
VarToAbstractVarMap.clear();
|
||||||
DbgVariableToDbgInstMap.clear();
|
DbgVariableToDbgInstMap.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user