[PATCH] D37311: [DebugInfo] Lower dbg.declare to DBG_VALUE with DW_OP_deref

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 12:10:02 PDT 2017


On Thu, Aug 31, 2017 at 2:18 PM Reid Kleckner via Phabricator via
llvm-commits <llvm-commits at lists.llvm.org> wrote:

> rnk added a comment.
>
> Running debuginfo-tests was enlightening. My understanding of these
> opcodes is a lot worse than I thought it was. :( They are really impossible
> to understand without staring at the LLDB or GDB expression evaluation
> code. I'll have to think about this some more.
>

Happy to chat about them in person if it helps. There was also some
historic misunderstanding of some of the opcodes that ended up baked into
LLDB and LLVM (they both agreed on something but it wasn't the thing the
DWARF Spec said, then we changed it somehow (this was related to
DW_OP_bit_piece))


>
>
> https://reviews.llvm.org/D37311
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170904/61c8912a/attachment.html>


More information about the llvm-commits mailing list