[Lldb-commits] [PATCH] D59004: [lldb] Fix DW_OP_addrx uses.
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 6 03:34:18 PST 2019
labath added a comment.
Would a test similar to `lit/SymbolFile/DWARF/array-sizes.s` be possible/appropriate?
I'm thinking of something like:
- produce debug info in the form of a .s file (either with clang of via hand-tuning dwarf) which uses DW_OP_addrx
- assemble&link it
- run lldb, have it open the file and print the value of the global variable
The advantage of this would be that it's more explicit about what is being tested, and it would keep testing the same thing even if clang decides to encode variable locations differently in the future.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59004/new/
https://reviews.llvm.org/D59004
More information about the lldb-commits
mailing list