vsk added inline comments.
================
Comment at: lldb/source/Expression/DWARFExpression.cpp:2077
+ // with the expression result, so the debugger can print missing
+ // members as "<optimized out>" or something.
::memset(curr_piece.GetBuffer().GetBytes(), 0, piece_byte_size);
----------------
FTR I'm not really sure this case is allowed by the dwarf standard. Under
DW_OP_piece the standard references a "preceding simple location description"
-- istm like an error if the stack is empty. My $0.0002 :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72880/new/
https://reviews.llvm.org/D72880
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits