[Lldb-commits] [lldb] [lldb-dap] Support inspecting memory (PR #104317)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 12 10:52:48 PDT 2024


vogelsgesang wrote:

Hi @clayborg,

sorry for the late reply - got knocked out by Covid for a while 😷 

> Let me know what you think of my idea to always just show the load address of any SBValue. I think that is the best for LLDB, but I am open to opinions.

I did check the other lldb-based debug adapter. See https://github.com/vadimcn/codelldb/blob/05502bf75e4e7878a99b0bf0a7a81bba2922cbe3/adapter/codelldb/src/debug_session/variables.rs#L280. It turns out, they also always use the load address of the value itself, without dereferencing pointers. Given this prior art, I will update this commit to do the same.

I will hopefully find time to update this pull request early next week

https://github.com/llvm/llvm-project/pull/104317


More information about the lldb-commits mailing list