mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Do not leak argument's DbgVariables.
llvm-svn: 130004
This commit is contained in:
parent
ee6cdc52e0
commit
6aac901f77
@ -2061,7 +2061,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
||||
|
||||
// Clear debug info
|
||||
CurrentFnDbgScope = NULL;
|
||||
CurrentFnArguments.clear();
|
||||
DeleteContainerPointers(CurrentFnArguments);
|
||||
DbgVariableToFrameIndexMap.clear();
|
||||
VarToAbstractVarMap.clear();
|
||||
DbgVariableToDbgInstMap.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user