[Lldb-commits] [lldb] [lldb] Call FixUpPointer in WritePointerToMemory (PR #152798)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 11 07:25:13 PDT 2025
================
@@ -640,6 +640,9 @@ void IRMemoryMap::WritePointerToMemory(lldb::addr_t process_address,
lldb::addr_t address, Status &error) {
error.Clear();
+ if (auto process_sp = GetProcessWP().lock())
+ address = process_sp->FixAnyAddress(address);
----------------
felipepiovezan wrote:
OHHH, I see the confusion now: note that this is _not_ fixing the "pointer _where_ the data is written", but rather it is fixing the "pointer written _to_ memory". (see the name of the method: `Write**Pointer**ToMemory`)
https://github.com/llvm/llvm-project/pull/152798
More information about the lldb-commits
mailing list