Skip to content

Commit 36dcebb

Browse files
fixup! Improve comment
1 parent ce9c2cc commit 36dcebb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Expression/IRMemoryMap.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,8 @@ void IRMemoryMap::WritePointerToMemory(lldb::addr_t process_address,
641641
error.Clear();
642642

643643
/// Only ask the Process to fix the address if this address belongs to the
644-
/// process (host allocations are stored in m_data).
644+
/// process. An address belongs to the process if the Allocation contains a
645+
/// non-empty m_data member.
645646
if (auto it = FindAllocation(process_address, 1);
646647
it != m_allocations.end() && it->second.m_data.GetByteSize() == 0)
647648
if (auto process_sp = GetProcessWP().lock())

0 commit comments

Comments
 (0)