diff options
author | Devang Patel <dpatel@apple.com> | 2010-04-09 16:04:20 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-04-09 16:04:20 +0000 |
commit | 541019ddecb7c9081ff6abf9decdbfb04290f7d2 (patch) | |
tree | 7f8b3e1f87270985e8eb84c3a16b4790b92967b3 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 08288f28462e4a8d75d40c456190168b2b8cad1d (diff) | |
download | bcm5719-llvm-541019ddecb7c9081ff6abf9decdbfb04290f7d2.tar.gz bcm5719-llvm-541019ddecb7c9081ff6abf9decdbfb04290f7d2.zip |
Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function.
llvm-svn: 100867
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 7969374c2ca..7fed0c5162e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2342,6 +2342,8 @@ void DwarfDebug::endFunction(const MachineFunction *MF) { // Clear debug info CurrentFnDbgScope = NULL; DeleteContainerSeconds(DbgScopeMap); + InsnsBeginScopeSet.clear(); + InsnsEndScopeSet.clear(); DbgValueStartMap.clear(); ConcreteScopes.clear(); DeleteContainerSeconds(AbstractScopes); |