Clear variable debug info map at the end of the function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2009-10-08 20:41:17 +00:00
parent 30aea9d96e
commit 85d29e2de3

View File

@ -76,6 +76,9 @@ void MachineModuleInfo::EndFunction() {
FilterEnds.clear();
CallsEHReturn = 0;
CallsUnwindInit = 0;
#ifdef ATTACH_DEBUG_INFO_TO_AN_INSN
VariableDbgInfo.clear();
#endif
}
/// AnalyzeModule - Scan the module for global debug information.