[Lldb-commits] [lldb] [lldb][docs] document an analogue for `info proc mappings` (PR #153559)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 14 01:51:27 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: ⭐️NINIKA⭐️ (DCNick3)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/153559.diff
1 Files Affected:
- (modified) lldb/docs/use/map.rst (+14)
``````````diff
diff --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst
index ea166bf8f1e9a..89547489e02aa 100644
--- a/lldb/docs/use/map.rst
+++ b/lldb/docs/use/map.rst
@@ -1126,6 +1126,20 @@ Save binary memory data starting at ``0x1000`` and ending at ``0x2000`` to a fil
(lldb) memory read --outfile /tmp/mem.bin --binary 0x1000 0x2000
(lldb) me r -o /tmp/mem.bin -b 0x1000 0x2000
+
+Print information about mapped memory regions
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. code-block:: shell
+
+ (gdb) info proc mappings
+
+.. code-block:: shell
+
+ (lldb) memory region --all
+ (lldb) me reg --all
+
+
Get information about a specific heap allocation (macOS only)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``````````
</details>
https://github.com/llvm/llvm-project/pull/153559
More information about the lldb-commits
mailing list