commit | 26c699565424e93e9d0d0495d7e914d89071d6e0 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri May 14 21:55:50 2010 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri May 14 21:55:50 2010 +0000 |
tree | 60b3c88d4b55c9aa6d23bcf073cbfed5f6718da9 | |
parent | 8a65c510a4fa1245d101da6318618d025702028c [diff] [blame] |
Do not forget to mark prcessed arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103822 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6baba72..ce13945 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2175,6 +2175,7 @@ DbgVariable *ArgVar = new DbgVariable(DV, MInsn, NULL); CurrentFnDbgScope->addVariable(ArgVar); DbgValueStartMap[MInsn] = ArgVar; + Processed.insert(DV); continue; }