[Lldb-commits] [PATCH] D94064: lldb: Add support for printing variables with DW_AT_ranges on DW_TAG_subprograms

David Blaikie via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 24 18:22:03 PST 2021


dblaikie added inline comments.


================
Comment at: lldb/test/Shell/SymbolFile/DWARF/subprogram_ranges.test:22
+#   initialization/no prologue instructions, so the location of "var" is valid
+#   at the start of the function, so 'image lookup -v -s main' will include it.
+#
----------------
labath wrote:
> btw, the way I've dealt with this in the past is to introduce an additional label in the assembly (`look_me_up:`), and then give that to the image lookup command.
Oh, makes sense - will certainly keep that in mind! 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94064



More information about the lldb-commits mailing list