Author: ⭐️NINIKA⭐️
Date: 2025-08-15T12:01:52Z
New Revision: ce0bc3aa70bb3fa58473058985f4e5cd1ac45b5a

URL: 
https://github.com/llvm/llvm-project/commit/ce0bc3aa70bb3fa58473058985f4e5cd1ac45b5a
DIFF: 
https://github.com/llvm/llvm-project/commit/ce0bc3aa70bb3fa58473058985f4e5cd1ac45b5a.diff

LOG: [lldb][docs] document an analogue for `info proc mappings` (#153559)

Added: 
    

Modified: 
    lldb/docs/use/map.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/use/map.rst b/lldb/docs/use/map.rst
index ea166bf8f1e9a..da566e7afe058 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

Reply via email to