[Lldb-commits] [PATCH] D73148: [lldb/Value] Report size of Value as size of underlying data buffer
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 22 23:36:33 PST 2020
labath added a comment.
In D73148#1834955 <https://reviews.llvm.org/D73148#1834955>, @vsk wrote:
> In D73148#1832897 <https://reviews.llvm.org/D73148#1832897>, @clayborg wrote:
>
> > Actually it would be nice to have a test that will trigger on at least one build bot that runs ASAN?
>
>
> I'll add an end-to-end test for DW_OP_piece, though I worry it might be brittle.
I don't think that's a good way to write a test like this. I suggest checking out `test/Shell/SymbolFile/DWARF/DW_OP_piece-struct.s` for an dwarf expression test that does not rely on guessing the DW_OP opcodes used by the compiler. Maybe you can just take that test and tweak it to do what you need?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73148/new/
https://reviews.llvm.org/D73148
More information about the lldb-commits
mailing list