Skip to content

Commit 1e54eb1

Browse files
ylnJDevlieghere
andauthored
Apply suggestions from code review
Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent ac37406 commit 1e54eb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ nub_bool_t MachVMMemory::GetMemoryTags(task_t task, nub_addr_t address,
173173
RTLD_DEFAULT, "mach_vm_update_pointers_with_remote_tags");
174174
assert(mach_vm_update_pointers_with_remote_tags);
175175

176-
// Max batch size supported by mach_vm_update_pointers_with_remote_tags()
176+
// Max batch size supported by mach_vm_update_pointers_with_remote_tags.
177177
constexpr uint32_t max_ptr_count = VM_OFFSET_LIST_MAX;
178178
constexpr uint32_t tag_shift = 56;
179179
constexpr nub_addr_t tag_mask =
180-
((nub_addr_t)0x0f << tag_shift); // Lower half of top byte
180+
((nub_addr_t)0x0f << tag_shift); // Lower half of top byte.
181181
constexpr uint32_t tag_granule = 16;
182182

183183
mach_msg_type_number_t ptr_count =

0 commit comments

Comments
 (0)