X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FMachineModuleInfo.cpp;h=b62803f105e4c4c8f34398db9914b82eb5cee3e7;hb=91203cf87b8a72227c78a9eeae8bb744dfcc4ef0;hp=8661b9ee132bdaf4c8bca4f0021143b47487faca;hpb=fdc826f6e834a2da80965a34f2ffb5d869fd8c64;p=oota-llvm.git diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 8661b9ee132..b62803f105e 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -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.