Author: Felipe de Azevedo Piovezan Date: 2025-08-12T18:51:00-07:00 New Revision: a2035464960a71c1297aa6f81f9bdc7606c8f515
URL: https://github.com/llvm/llvm-project/commit/a2035464960a71c1297aa6f81f9bdc7606c8f515 DIFF: https://github.com/llvm/llvm-project/commit/a2035464960a71c1297aa6f81f9bdc7606c8f515.diff LOG: Revert "[lldb] Call FixUpPointer in WritePointerToMemory" This reverts commit 085a53cb89c4021da2e32d1757a1ee44668e8596. This patch is hitting a corner case tested by `TestScriptedProcessEmptyMemoryRegion.py`. Added: Modified: lldb/source/Expression/IRMemoryMap.cpp Removed: ################################################################################ diff --git a/lldb/source/Expression/IRMemoryMap.cpp b/lldb/source/Expression/IRMemoryMap.cpp index 8be389973f123..150699352a2e3 100644 --- a/lldb/source/Expression/IRMemoryMap.cpp +++ b/lldb/source/Expression/IRMemoryMap.cpp @@ -640,9 +640,6 @@ 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); - Scalar scalar(address); WriteScalarToMemory(process_address, scalar, GetAddressByteSize(), error); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits