From 26c699565424e93e9d0d0495d7e914d89071d6e0 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 14 May 2010 21:55:50 +0000 Subject: [PATCH] Do not forget to mark prcessed arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103822 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6baba7255b6..ce13945583e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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; }