llvm-project/lldb/unittests/Process
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
..
Linux [lldb] Get rid of helper CMake variables for Python 2020-08-17 08:47:52 -07:00
POSIX [lldb] Use modern CMake to avoid repetition (NFC) 2020-08-10 22:29:40 -07:00
gdb-remote [lldb] Change Communication::SetConnection to take a unique_ptr 2020-04-02 14:42:25 +02:00
minidump Load correct module for linux and android when duplicates exist in minidump. 2020-08-26 15:48:34 -07:00
CMakeLists.txt [lldb/Test] Fix unittest name 2020-06-12 14:01:14 -07:00
ProcessEventDataTest.cpp [lldb] Check if thread was suspended during previous stop added. 2020-06-11 15:02:46 -07:00