1
0
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:
Devang Patel 2011-04-22 18:09:57 +00:00
parent ee6cdc52e0
commit 6aac901f77

View File

@ -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();