Clear map after use.

This is likely to fix the segfault in llvm-gcc-x86_64-darwin10-cross-mingw32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2011-03-22 01:03:24 +00:00
parent 8371c89902
commit bd17478f2f

View File

@ -3050,6 +3050,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
DbgVariableToDbgInstMap.clear();
DeleteContainerSeconds(DbgScopeMap);
InsnsNeedsLabelAfter.clear();
RegClobberInsn.clear();
ConcreteScopes.clear();
DeleteContainerSeconds(AbstractScopes);
AbstractScopesList.clear();