[PATCH] D73598: Add dwarfdump support for DW_OP_regval_type

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 20:19:22 PST 2020


JDevlieghere accepted this revision.
JDevlieghere added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:194
+                                   uint64_t Operands[2], unsigned Operand) {
+  auto Die = U->getDIEForOffset(U->getOffset() + Operands[Operand]);
+  if (Die && Die.getTag() == dwarf::DW_TAG_base_type) {
----------------
`assert(Operand < 2)`


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

https://reviews.llvm.org/D73598





More information about the llvm-commits mailing list