diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-22 01:03:24 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-22 01:03:24 +0000 |
commit | bd17478f2f6dd3630c4e2fafaa71e2424e08c96e (patch) | |
tree | 12cec19a4a4074260ecd2b1feb2ca42f866cbf2b /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 8371c8990251bd70377ff0673b4dc2e325388a12 (diff) |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index d65270edf6..c775c38f70 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -3050,6 +3050,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) { DbgVariableToDbgInstMap.clear(); DeleteContainerSeconds(DbgScopeMap); InsnsNeedsLabelAfter.clear(); + RegClobberInsn.clear(); ConcreteScopes.clear(); DeleteContainerSeconds(AbstractScopes); AbstractScopesList.clear(); |