Skip to content

Commit 5665b1b

Browse files
authored
[lldb][NFC] Fix spelling of function in log message (#161261)
Fix spelling of `GetMemoryRegionInfo` function in log message and comment and reformat code.
1 parent 3a8d771 commit 5665b1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/tools/debugserver/source/MacOSX/MachTask.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,17 @@
213213
}
214214

215215
//----------------------------------------------------------------------
216-
// MachTask::MemoryRegionInfo
216+
// MachTask::GetMemoryRegionInfo
217217
//----------------------------------------------------------------------
218218
int MachTask::GetMemoryRegionInfo(nub_addr_t addr, DNBRegionInfo *region_info) {
219219
task_t task = TaskPort();
220220
if (task == TASK_NULL)
221221
return -1;
222222

223223
int ret = m_vm_memory.GetMemoryRegionInfo(task, addr, region_info);
224-
DNBLogThreadedIf(LOG_MEMORY, "MachTask::MemoryRegionInfo ( addr = 0x%8.8llx "
225-
") => %i (start = 0x%8.8llx, size = 0x%8.8llx, "
226-
"permissions = %u)",
224+
DNBLogThreadedIf(LOG_MEMORY,
225+
"MachTask::GetMemoryRegionInfo ( addr = 0x%8.8llx ) => %i "
226+
"(start = 0x%8.8llx, size = 0x%8.8llx, permissions = %u)",
227227
(uint64_t)addr, ret, (uint64_t)region_info->addr,
228228
(uint64_t)region_info->size, region_info->permissions);
229229
return ret;

0 commit comments

Comments
 (0)