Skip to content

Commit a203546

Browse files
Revert "[lldb] Call FixUpPointer in WritePointerToMemory"
This reverts commit 085a53c. This patch is hitting a corner case tested by `TestScriptedProcessEmptyMemoryRegion.py`.
1 parent 84c5b95 commit a203546

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lldb/source/Expression/IRMemoryMap.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,6 @@ void IRMemoryMap::WritePointerToMemory(lldb::addr_t process_address,
640640
lldb::addr_t address, Status &error) {
641641
error.Clear();
642642

643-
if (auto process_sp = GetProcessWP().lock())
644-
address = process_sp->FixAnyAddress(address);
645-
646643
Scalar scalar(address);
647644

648645
WriteScalarToMemory(process_address, scalar, GetAddressByteSize(), error);

0 commit comments

Comments
 (0)