[PATCH] D57010: Fix sign/zero extension in Dwarf expressions (with pseudo ops)
Markus Lavin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 06:50:46 PST 2019
markus added a comment.
In D57010#1366617 <https://reviews.llvm.org/D57010#1366617>, @aprantl wrote:
> Can you summarize what the advantage of the new operation as opposed to using DWARF 5 type conversions would be?
The advantages of this approach as I see it would be
- does not require the infrastructure update to allow a debug expression reference a base_type DIE (especially the emit part of this seems hairy)
- even if we have full DW5 ops there is still the problem of when we need to deref. This pseudo-op has that baked in (which is perhaps not such a good idea after all?). Actually I think that when and where to DW_OP_deref (and DW_OP_deref_size as is required for big-endian) is the hardest part. I am trying to raise that issue on llvm-dev https://lists.llvm.org/pipermail/llvm-dev/2019-January/129522.html and hopefully it will result in some useful insight.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57010/new/
https://reviews.llvm.org/D57010
More information about the llvm-commits
mailing list