Revert "[lldb] Call FixUpPointer in WritePointerToMemory"
This reverts commit 085a53cb89c4021da2e32d1757a1ee44668e8596. This patch is hitting a corner case tested by `TestScriptedProcessEmptyMemoryRegion.py`.
This commit is contained in:
parent
84c5b9525e
commit
a203546496
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user