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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 14 23:18:46 PDT 2024


================
@@ -1085,6 +1085,19 @@ std::string VariableDescription::GetResult(llvm::StringRef context) {
   return description.trim().str();
 }
 
+lldb::addr_t GetMemoryReference(lldb::SBValue v) {
----------------
clayborg wrote:

If we return a `std::optional<lldb::addr_t>` it will clean up the call sites nicely.

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


More information about the lldb-commits mailing list