djtodoro added a comment. In D77108#1952818 <https://reviews.llvm.org/D77108#1952818>, @aprantl wrote:
> For the future, a clean solution would be extending the macros in Dwarf.def > to list the stack effects in the definitions of the DW_OP_*, for example > > // opcode, name, version, vendor, in, out > HANDLE_DW_OP(0x12, dup, 2, DWARF, 1, 2) > > > and then we could write a static verifier that ensures that the stack effects > of an entire expression is sound. (And we could check this in LLVM, already, > too). `DW_OP_entry_value` may be requiring a special handling as well. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77108/new/ https://reviews.llvm.org/D77108 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits