Clear map after use.

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

llvm-svn: 128051
This commit is contained in:
Jakob Stoklund Olesen 2011-03-22 01:03:24 +00:00
parent a1a4ae34d0
commit c6f4af028d
1 changed files with 1 additions and 0 deletions

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