llvm-project/lldb/unittests/Process/minidump
Dimitar Vlahovski 7b18dd4f77 Minidump plugin: Adding ProcessMinidump, ThreadMinidump and register the plugin in SystemInitializerFull
Summary:
This plugin resembles the already existing Windows-only Minidump plugin.
The WinMinidumpPlugin uses the Windows API for parsing Minidumps
while this plugin is cross-platform because it includes a Minidump
parser (which is already commited)

It is able to produce a backtrace, to read the general puprose regiters,
inspect local variables, show image list, do memory reads, etc.

For now the only arches that this supports are x86_32 and x86_64.
This is because I have only written register contexts for those.
Others will come in next CLs.

I copied the WinMinidump tests and adapted them a little bit for them to
work with the new plugin (and they pass)
I will add more tests, aiming for better code coverage.

There is still functionality to be added, see TODOs in code.

Reviewers: labath, zturner

Subscribers: beanz, mgorny, modocache, lldb-commits, amccarth

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

llvm-svn: 285587
2016-10-31 15:35:18 +00:00
..
Inputs Minidump plugin: Adding x86_32 register context converter 2016-10-31 15:26:44 +00:00
CMakeLists.txt Minidump plugin: Adding x86_32 register context converter 2016-10-31 15:26:44 +00:00
MinidumpParserTest.cpp Minidump plugin: Adding ProcessMinidump, ThreadMinidump and register the plugin in SystemInitializerFull 2016-10-31 15:35:18 +00:00