[Lldb-commits] [lldb] [lldb] Read `read-only` pointee data from the object file in `GetPointeeData` (PR #213372)
David Young via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 6 06:17:04 PDT 2026
================
@@ -764,7 +764,7 @@ size_t ValueObject::GetPointeeData(DataExtractor &data, uint32_t item_idx,
target_addr.SetLoadAddress(addr + offset, target);
size_t bytes_read =
target->ReadMemory(target_addr, heap_buf_ptr->GetBytes(), bytes,
- error, /*force_live_memory=*/true);
+ error, /*force_live_memory=*/false);
----------------
youngd007 wrote:
@jimingham & @clayborg are we okay with this patch to solve the problem of reading wrong value during a coredump debugging session sometimes? And then moving to make the boolean an enum as a follow up PR?
https://github.com/llvm/llvm-project/pull/213372
More information about the lldb-commits
mailing list