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.
Details
Details
- Reviewers
zturner labath lemo jingham - Commits
- rGda9c5dba961d: Show the memory region name if there is one in the output of the "memory…
rL349658: Show the memory region name if there is one in the output of the "memory…
rLLDB349658: Show the memory region name if there is one in the output of the "memory…
Diff Detail
Diff Detail
- Repository
- rLLDB LLDB
Event Timeline
Comment Actions
This looks fine to me. I have one inline suggestion you can consider. Also, I've been wondering whether there is any existing minidump that you could have used for the test purposes. It doesn't sound like there is anything too special about this minidump, and it would reduce the number of binary blobs we carry around.
packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py | ||
---|---|---|
95–119 | wouldn't self.expect be able to handle this? I would expect this can just be a series of self.expect("memory region XXX", substrs = ["/system/lib/whatever.so"]) commands. |
wouldn't self.expect be able to handle this? I would expect this can just be a series of self.expect("memory region XXX", substrs = ["/system/lib/whatever.so"]) commands.