[Lldb-commits] [lldb] [lldb-dap] Refactor variablesReference storage and scope management. (PR #179262)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 13 11:36:59 PST 2026
================
@@ -22,6 +22,72 @@
#include <optional>
#include <string>
+#define LLDB_DAP_INVALID_VAR_REF UINT32_MAX
+#define LLDB_DAP_INVALID_SRC_REF 0
+#define LLDB_DAP_INVALID_VALUE_LOC 0
+#define LLDB_DAP_INVALID_STACK_FRAME_ID UINT64_MAX
+
+namespace lldb_dap {
----------------
ashgti wrote:
nit: We could leave these in the `lldb_dap::protocol` namespace and add a `using ReferenceKind = protocol::ReferenceKind;` and `using var_ref_t = protocol::var_ref_t` to DAP.h or DAPForward.h.
https://github.com/llvm/llvm-project/pull/179262
More information about the lldb-commits
mailing list