[LLVMdev] LowerDbgDeclare results in redeclaration of local variable

Eric Christopher echristo at gmail.com
Sun Apr 28 23:54:13 PDT 2013

There was a patch committed the other day that should, at least, work
around some of the behavior you describe. Optimized debug info is an
area that's being worked on in ToT and previous releases are
particularly bad. I'd use that.


On Mon, Apr 29, 2013 at 7:02 AM, Pankaj Gode <godepankaj at yahoo.com> wrote:
> Hi All,
> Due to 'LowerDbgDeclare' call ( as part of 'instruction combining'
> optimization), a local variable gets declared and initialized inside the
> basic blocks it is used in.
> Is there anyway I can avoid this ?
> This is with reference with my previous question.
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-April/061644.html
> Regards,
> Pankaj
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list