llvm-project/lldb/unittests/Process/minidump
Greg Clayton c55db4600b Load correct module for linux and android when duplicates exist in minidump.
Breakpad creates minidump files that can a module loaded multiple times. We found that when a process mmap's the object file for a library, this can confuse breakpad into creating multiple modules in the module list. This patch fixes the GetFilteredModules() to check the linux maps for permissions and use the one that has execute permissions. Typically when people mmap a file into memory they don't map it as executable. This helps people to correctly load minidump files for post mortem analysis.

Differential Revision: https://reviews.llvm.org/D86375
2020-08-26 15:48:34 -07:00
..
Inputs minidump: Use yaml for memory info tests 2019-10-14 14:16:39 +00:00
CMakeLists.txt minidump: Use yaml for memory info tests 2019-10-14 14:16:39 +00:00
MinidumpParserTest.cpp Load correct module for linux and android when duplicates exist in minidump. 2020-08-26 15:48:34 -07:00
RegisterContextMinidumpTest.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00