DavidSpickett added a comment. If you wondering, the average number of flags for a hello world's memory regions is 8 so 8 lines of output. Here's an example I had that does madvise.
(lldb) memory region addr [0x00007ffff7ed5000-0x00007ffff7fd5000) rw- /dev/zero (deleted) flags: readable writeable shared may read may write may execute may share soft-dirty (lldb) n (lldb) n (over madvise(addr, len, MADV_DONTFORK);) (lldb) memory region addr [0x00007ffff7ed5000-0x00007ffff7fd5000) rw- /dev/zero (deleted) flags: readable writeable shared may read may write may execute may share do not copy area on fork soft-dirty I could add this as a test case but it only adds checking that the region cache is updated. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D87442/new/ https://reviews.llvm.org/D87442 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits