[Lldb-commits] [lldb] [lldb-dap] Add readOnly attribute for variables (PR #151884)
Walter Erquinigo via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 6 10:15:41 PDT 2025
================
@@ -301,6 +301,14 @@ Variable CreateVariable(lldb::SBValue v, int64_t var_ref, bool format_hex,
if (lldb::addr_t addr = v.GetLoadAddress(); addr != LLDB_INVALID_ADDRESS)
var.memoryReference = addr;
+ bool is_readonly = v.GetType().IsAggregateType() ||
----------------
walter-erquinigo wrote:
yeah, i'm fine with this
https://github.com/llvm/llvm-project/pull/151884
More information about the lldb-commits
mailing list