[lldb] Handle MacOS 64Kb heap pages in the lldb helpers
This commit is contained in:
parent
1a180b7e18
commit
d3d888b986
Notes:
git
2022-01-27 05:28:30 +09:00
|
@ -10,8 +10,13 @@ from __future__ import print_function
|
|||
import lldb
|
||||
import os
|
||||
import shlex
|
||||
import platform
|
||||
|
||||
if platform.system() == 'Darwin':
|
||||
HEAP_PAGE_ALIGN_LOG = 16
|
||||
else:
|
||||
HEAP_PAGE_ALIGN_LOG = 14
|
||||
|
||||
HEAP_PAGE_ALIGN_LOG = 14
|
||||
HEAP_PAGE_ALIGN_MASK = (~(~0 << HEAP_PAGE_ALIGN_LOG))
|
||||
HEAP_PAGE_ALIGN = (1 << HEAP_PAGE_ALIGN_LOG)
|
||||
HEAP_PAGE_SIZE = HEAP_PAGE_ALIGN
|
||||
|
|
Loading…
Reference in New Issue