[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
================
@@ -411,6 +411,12 @@ struct VariableDescription {
std::string GetResult(llvm::StringRef context);
};
+/// Get the corresponding `memoryReference` for a value.
+///
+/// According to the DAP documentation, the `memoryReference` should
+/// refer to the pointee, not to the address of the pointer itself.
+lldb::addr_t GetMemoryReference(lldb::SBValue v);
----------------
clayborg wrote:
use std::optional as suggested.
https://github.com/llvm/llvm-project/pull/104317
More information about the lldb-commits
mailing list