Do not forget to mark prcessed arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103822 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2010-05-14 21:55:50 +00:00
parent 8a65c510a4
commit 26c6995654

View File

@ -2175,6 +2175,7 @@ void DwarfDebug::collectVariableInfo(const MachineFunction *MF) {
DbgVariable *ArgVar = new DbgVariable(DV, MInsn, NULL);
CurrentFnDbgScope->addVariable(ArgVar);
DbgValueStartMap[MInsn] = ArgVar;
Processed.insert(DV);
continue;
}