Show the memory region name if there is one in the output of the "memory region"...
authorGreg Clayton <gclayton@apple.com>
Wed, 19 Dec 2018 18:16:52 +0000 (18:16 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 19 Dec 2018 18:16:52 +0000 (18:16 +0000)
commitda9c5dba961d8f110022400ef81faf0f4bc93ffc
tree16dd5aa96e0b11ee8088ad9146f8eae502a3ab7b
parentce90181751246f240302a930ca853cb5b1fb95c5
Show the memory region name if there is one in the output of the "memory region" command

Prior to this change we would show the name of the section that a memory region belonged to but not its actual region name. Now we show this,. Added a test that reuses the regions-linux-map.dmp minidump file to test this and verify the correct region names for various memory regions.

Differential Revision: https://reviews.llvm.org/D55854

llvm-svn: 349658
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.dmp [new file with mode: 0644]
lldb/source/Commands/CommandObjectMemory.cpp