https://github.com/DCNick3 updated https://github.com/llvm/llvm-project/pull/153559
From 82d5f1a61b9c6e13a758adc7d0d49f766df961fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=90=EF=B8=8FNINIKA=E2=AD=90=EF=B8=8F?= <mosli...@gmail.com> Date: Thu, 14 Aug 2025 13:05:46 +0300 Subject: [PATCH] [lldb][docs] document an analogue for `info proc mappings` --- lldb/docs/use/map.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst index ea166bf8f1e9a..a9e875a63d08f 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 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits