llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/postmortem
Leonard Mosescu e1bb51789d Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails
There was no way to find out what's wrong if SBProcess SBTarget::LoadCore(const char *core_file) failed. 
Additionally, the implementation was unconditionally setting sb_process, so it wasn't even possible to check if the return SBProcess is valid.

This change adds a new overload which surfaces the errors and also returns a valid SBProcess only if the core load succeeds:

SBProcess SBTarget::LoadCore(const char *core_file, SBError &error);

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

llvm-svn: 334439
2018-06-11 21:19:26 +00:00
..
elf-core [lit, lldbsuite] Add a bug reference to the failing TestLinuxCore and fix an undefined property in dotest.py 2018-05-09 15:35:19 +00:00
mach-core XFAIL TestMachCore for windows hosts 2018-05-29 09:22:58 +00:00
minidump [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
minidump-new Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails 2018-06-11 21:19:26 +00:00
wow64_minidump Disable windows-only minidump plugin 2016-11-09 10:16:11 +00:00