llvm-project/lldb/source
Greg Clayton 026e1bf56a Cache memory regions in ProcessMinidump and use the linux maps as the source of the information if available
Breakpad creates minidump files that sometimes have:
- linux maps textual content
- no MemoryInfoList

Right now unless the file has a MemoryInfoList we get no region information.

This patch:

- reads and caches the memory region info one time and sorts it for easy subsequent access
- get the region info from the best source in this order:
  - linux maps info (if available)
  - MemoryInfoList (if available)
  - MemoryList or Memory64List
- returns memory region info for the gaps between regions (before the first and after the last)

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

llvm-svn: 349182
2018-12-14 19:36:01 +00:00
..
API Move Broadcaster+Listener+Event combo from Core into Utility 2018-12-14 15:59:49 +00:00
Breakpoint Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
Commands Rename ObjectFile::GetHeaderAddress to GetBaseAddress 2018-12-11 15:21:15 +00:00
Core Move Broadcaster+Listener+Event combo from Core into Utility 2018-12-14 15:59:49 +00:00
DataFormatters Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Expression [PDB] Support PDB-backed expressions evaluation (+ fix stuck test) 2018-12-03 13:31:13 +00:00
Host [Host] Use FileSystem wrapper 2018-12-10 18:17:39 +00:00
Initialization [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
Interpreter Add GDB remote packet reproducer. 2018-11-13 19:18:16 +00:00
Plugins Cache memory regions in ProcessMinidump and use the linux maps as the source of the information if available 2018-12-14 19:36:01 +00:00
Symbol [NativePDB] Add support for local variables. 2018-12-13 18:17:51 +00:00
Target Move Broadcaster+Listener+Event combo from Core into Utility 2018-12-14 15:59:49 +00:00
Utility Move Broadcaster+Listener+Event combo from Core into Utility 2018-12-14 15:59:49 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp Run clang-format on lldb.cpp 2017-11-02 16:56:52 +00:00