llvm-capstone/lldb/scripts
Jan Kratochvil 4112b47335 [lldb] Fix crash on SBCommandReturnObject & assignment
I was writing an SB API client and it was crashing on:
	bool DoExecute(SBDebugger dbg, char **command, SBCommandReturnObject &result) {
	  result = subcommand(dbg, "help");

That is because SBCommandReturnObject &result gets initialized inside LLDB by:
	bool DoExecute(Args &command, CommandReturnObject &result) override {
	  // std::unique_ptr gets initialized here from `&result`!!!
	  SBCommandReturnObject sb_return(&result);
	  DoExecute(...);
	  sb_return.Release();

Differential revision: https://reviews.llvm.org/D67589

llvm-svn: 373775
2019-10-04 19:32:57 +00:00
..
interface Pass an SBStructuredData to scripted ThreadPlans on use. 2019-10-03 22:50:18 +00:00
Python [lldb] Fix crash on SBCommandReturnObject & assignment 2019-10-04 19:32:57 +00:00
swig_bot_lib Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
analyze-project-deps.py Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
buildbot.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
CMakeLists.txt Componentize lldb/scripts to use with LLVM_DISTRIBUTION_COMPONENTS 2019-10-04 18:10:42 +00:00
disasm-gdb-remote.pl
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
framework-header-fix.sh Update framework-header-fix to force system sed 2018-11-04 15:55:28 +00:00
get_relative_lib_dir.py [lldb] [cmake] Fix installing Python modules on systems using /usr/lib 2019-09-25 09:47:35 +00:00
install_custom_python.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
lldb.swig new api class: SBFile 2019-10-03 04:01:07 +00:00
macos-setup-codesign.sh Add a script to setup codesigning on macOS. 2018-06-14 18:04:13 +00:00
swig_bot.py
use_lldb_suite.py use_lldb_suite.py: Fix potential infinite loop 2019-02-07 14:03:43 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py
utilsOsType.py The Python 3 part of the script was missed when adding OpenBSD support. 2018-10-04 20:34:58 +00:00
verify_api.py python 2/3 compat: commands vs subprocess 2019-03-26 14:46:15 +00:00