summaryrefslogtreecommitdiff
path: root/misc/lldb_rb/constants.py
diff options
context:
space:
mode:
authorMatt Valentine-House <[email protected]>2022-07-13 18:14:44 +0100
committerPeter Zhu <[email protected]>2022-08-18 13:25:32 -0400
commitb26aec9daa03a4f3da225e9e4f7a43e916928712 (patch)
treeb2002f074b354f743f701b28d3c080d2ec70f5f8 /misc/lldb_rb/constants.py
parenta4ef2f16728b4b1eb49cc3aded26219cabdfa7e7 (diff)
[ci-skip][Feature #18910][lldb] New directory structure
Push the newly refactored lldb files into a sub-directory so that we're not cluttering up the misc directory
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6129
Diffstat (limited to 'misc/lldb_rb/constants.py')
-rw-r--r--misc/lldb_rb/constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/lldb_rb/constants.py b/misc/lldb_rb/constants.py
new file mode 100644
index 0000000000..ec3050a399
--- /dev/null
+++ b/misc/lldb_rb/constants.py
@@ -0,0 +1,4 @@
+HEAP_PAGE_ALIGN_LOG = 16
+HEAP_PAGE_ALIGN_MASK = (~(~0 << HEAP_PAGE_ALIGN_LOG))
+HEAP_PAGE_ALIGN = (1 << HEAP_PAGE_ALIGN_LOG)
+HEAP_PAGE_SIZE = HEAP_PAGE_ALIGN