llvm-project/lldb/scripts
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
..
Python Python: adjust the include directories 2018-06-04 02:08:12 +00:00
Xcode Change build-llvm.py and build-lldb-llvm-clang's patching mechanisms to 2017-09-27 23:44:54 +00:00
interface Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails 2018-06-11 21:19:26 +00:00
swig_bot_lib *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Change SWIG output directory when building LLDB.framework with CMake 2018-06-04 23:47:36 +00:00
analyze-project-deps.py Make scripts/analyze-project-deps.py executable 2017-06-29 13:02:15 +00:00
build-lldb-llvm-clang Change build-llvm.py and build-lldb-llvm-clang's patching mechanisms to 2017-09-27 23:44:54 +00:00
buildbot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
checkpoint-llvm.pl
disasm-gdb-remote.pl
finish-swig-wrapper-classes.sh
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
framework-header-fix.sh [CMake] Rework construction of framework bundle 2017-07-25 20:30:58 +00:00
generate-vers.pl
get_relative_lib_dir.py Support RHEL 7 and similar systems that use architecture-specific Python lib dirs 2015-10-12 20:12:27 +00:00
install-lldb.sh
install_custom_python.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb.swig Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
prepare_bindings.py Fix SBDebugger.GetOutputFileHandle() on OS X. 2016-03-11 01:57:45 +00:00
sed-sources
shush Several improvements to the shush script 2015-01-16 23:16:22 +00:00
swig_bot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
use_lldb_suite.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsOsType.py Enable Python API for OpenBSD. 2018-05-21 19:47:45 +00:00
verify_api.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00