[PATCH] D56587: Fix sign/zero extension in Dwarf expressions.

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 8 06:57:33 PST 2019


dstenb added a comment.

How should `DW_OP_convert` be handled when targeting DWARF versions earlier than 5? There is the GNU extension `DW_OP_GNU_convert`, which GDB seems to have had support for since 2011. The operation seems to be the identical to the final version that got into DWARFv5, so LLDB should be able to handle the two variants transparently. Can we emit that GNU extension (under some limitations)?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56587/new/

https://reviews.llvm.org/D56587





More information about the llvm-commits mailing list