Skip to content

Commit ce0bc3a

Browse files
DCNick3DavidSpickett
authored andcommitted
[lldb][docs] document an analogue for info proc mappings (#153559)
1 parent 6ad39bc commit ce0bc3a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lldb/docs/use/map.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,20 @@ Save binary memory data starting at ``0x1000`` and ending at ``0x2000`` to a fil
11261126
(lldb) memory read --outfile /tmp/mem.bin --binary 0x1000 0x2000
11271127
(lldb) me r -o /tmp/mem.bin -b 0x1000 0x2000
11281128
1129+
1130+
Print information about memory regions
1131+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1132+
1133+
.. code-block:: shell
1134+
1135+
(gdb) info proc mappings
1136+
1137+
.. code-block:: shell
1138+
1139+
(lldb) memory region --all
1140+
(lldb) me reg --all
1141+
1142+
11291143
Get information about a specific heap allocation (macOS only)
11301144
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11311145

0 commit comments

Comments
 (0)