[PATCH] D107515: [DWARF] Expose raw bytes in DWARFExpression

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 12:49:36 PDT 2021


aprantl added a comment.

This will work fine for many DWARF expressions, but if they contain a `DW_OP_convert` which references a Type DIE by offset, or a `DW_OP_call` (currently not generated by LLVM, you may still need to rewrite the expression. If you are okay with these limitations, this patch is fine, I just would echo @jhenderson and recommend adding a unit test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107515



More information about the llvm-commits mailing list