llvm-capstone/lldb
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
..
cmake [lldb] [cmake] Support linking against clang-cpp dylib 2019-10-04 12:03:03 +00:00
docs [Docs] Document lldb-instr 2019-10-01 00:12:47 +00:00
examples Revert [heap.py] Add missing declaration for malloc_get_all_zones 2019-08-22 21:01:45 +00:00
include/lldb [lldb] Fix crash on SBCommandReturnObject & assignment 2019-10-04 19:32:57 +00:00
lit Revert "Explicitly set entry point arch when it's thumb" 2019-10-04 01:45:58 +00:00
packages/Python/lldbsuite [lldb] Fix crash on SBCommandReturnObject & assignment 2019-10-04 19:32:57 +00:00
resources
scripts [lldb] Fix crash on SBCommandReturnObject & assignment 2019-10-04 19:32:57 +00:00
source [lldb] Fix crash on SBCommandReturnObject & assignment 2019-10-04 19:32:57 +00:00
test [CMake] Add the system debugserver to lldb-test-deps. 2019-09-25 17:13:02 +00:00
third_party/Python/module dotest.py: bugfix: test filters with -f do not work on Python3 2019-09-20 23:41:29 +00:00
tools [lldb] [cmake] Support linking against clang-cpp dylib 2019-10-04 12:03:03 +00:00
unittests Revert "Explicitly set entry point arch when it's thumb" 2019-10-04 01:45:58 +00:00
utils [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py