diff options
author | Devang Patel <dpatel@apple.com> | 2010-05-14 21:55:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-05-14 21:55:50 +0000 |
commit | 36debf804660c5033139d0a83f729fb9609a78ad (patch) | |
tree | 6f85fad33640464186661df6715581012e26f8ad /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 6c038e33e994cfa8a513f53a54821feb593872e7 (diff) | |
download | bcm5719-llvm-36debf804660c5033139d0a83f729fb9609a78ad.tar.gz bcm5719-llvm-36debf804660c5033139d0a83f729fb9609a78ad.zip |
Do not forget to mark prcessed arguments.
llvm-svn: 103822
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6baba7255b6..ce13945583e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/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; } |