teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Greg Clayton 0d6f681292 Fix a crasher in StackFrame::GetValueForVariableExpressionPath()
There was a crash that would happen if an IDE would ask for a child of a shared pointer via any SB API call that ends up calling StackFrame::GetValueForVariableExpressionPath(). The previous code expects an error to be set describing why the synthetic child of a type was not able to be found, but we have some synthetic child providers that weren't setting the error and returning an empty value object shared pointer. This fixes that to ensure we don't lose our debug session by crashing, fully tests GetValueForVariableExpressionPath functionality, and ensures we don't crash on GetValueForVariableExpressionPath() in the future.

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

llvm-svn: 355850
2019-03-11 18:16:20 +00:00
..
abbreviation
alias
apropos_with_process Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
archives Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
asan Remove XFAIL-Linux from two asan tests 2019-02-27 14:26:48 +00:00
attach_resume [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
avoids-fd-leak [testsuite] Reintroduce test to check leaking. 2018-02-12 18:06:34 +00:00
backticks
breakpoint [lldb] [test] Mark a few tests flakey on NetBSD 2019-03-11 15:46:07 +00:00
command_history
command_script Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
command_script_alias
command_script_immediate_output Disable two flaky pexpect-backed tests on Darwin 2018-08-16 18:18:16 +00:00
command_source Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
completion Update test that checks auto-completion for settings set. 2018-10-26 00:50:54 +00:00
conditional_break Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
darwin_log Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
data-formatter [lldb] [test] Mark a few tests flakey on NetBSD 2019-03-11 15:46:07 +00:00
dead-strip Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
deleted-executable [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
disassembly Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
dynamic_value_child_count Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
exec [testsuite] Remove unused seven module imports. 2019-01-28 18:07:41 +00:00
expr-doesnt-deadlock Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
expr-entry-bp [Target] Do not skip a stop on a breakpoint if a plan was completed 2018-11-30 09:45:52 +00:00
fat_archives [testsuite] Remove unused seven module imports. 2019-01-28 18:07:41 +00:00
format Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
frame_var Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
frame_var_scope Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
frame-diagnose Enforce that tests building with buildDefault set NO_DEBUG_INFO_TESTCASE 2018-01-30 17:02:42 +00:00
frame-language Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
frame-recognizer [lldb] Make frame recognizers vend synthesized eValueTypeVariableArgument values 2019-02-07 01:49:10 +00:00
gdb_remote_client Fix the gdb-client test suite for python3 2019-02-15 10:47:34 +00:00
history Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
inferior-assert [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
inferior-changed Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
inferior-crashing [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
inline-stepping [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
jitloader_gdb [lldb] Disable some of TestJITLoaderGDB.py tests on Windows 2019-03-05 17:09:26 +00:00
launch_with_shellexpand [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
load_unload [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
load_using_paths [lldb] [test] Mark a few tests flakey on NetBSD 2019-03-11 15:46:07 +00:00
longjmp [lldb] [test] Mark a few tests flakey on NetBSD 2019-03-11 15:46:07 +00:00
memory Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
memory-region Add a basic test for 'memory region' 2018-09-12 10:04:25 +00:00
mtc/simple Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
multidebugger_commands
nested_alias Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
non-overlapping-index-variable-i Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
nosucharch Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
object-file [lldb] [test] Fix expected netbsd output for TestImageListMultiArchitecture 2019-02-20 17:10:34 +00:00
paths Fix TestPaths.py on windows 2019-03-07 22:37:23 +00:00
platform [gdb-remote] Use lldb's portable Host::GetEnvironment() instead of getenv 2019-02-07 18:22:00 +00:00
plugins Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
postmortem [lldb] [test] Make 2lwp_process_SIGSEGV test more portable 2019-03-10 09:50:36 +00:00
pre_run_dylibs Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
process_attach [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
process_group [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
process_launch [lldb] [test] Adjust XFAIL list to match buildbot results 2019-03-09 12:47:38 +00:00
process_save_core Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
ptr_refs Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
recursion Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
register [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
rerun Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
return-value Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
set-data Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
show_location [LLDB] - Improved DWARF5 support. 2018-09-13 17:06:47 +00:00
signal [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
source-map Add the source directory for https://reviews.llvm.org/D57552. 2019-02-06 00:52:04 +00:00
stats [Command] Implement statistics command. 2018-04-13 18:02:39 +00:00
stats_api [SBAPI/Target] Expose SetStatistics(bool enable)/GetStatistics(). 2018-09-28 23:27:54 +00:00
step_scripted Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
step-avoids-no-debug Make testcase classnames unique 2018-06-24 10:36:44 +00:00
tail_call_frames Remove NO_DEBUGINFO_TESTCASE from testcase. 2019-01-24 21:32:32 +00:00
target_command Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
target_create_deps [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
target_var Skip test with older versions of clang 2018-10-03 16:24:14 +00:00
testid
thread [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
tsan [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
tty Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
type_completion Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
type_lookup Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan Fix TestUbsanBasic 2018-02-23 05:03:10 +00:00
unwind [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
value_md5_crash Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
var_path Fix a crasher in StackFrame::GetValueForVariableExpressionPath() 2019-03-11 18:16:20 +00:00
watchpoint [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
wrong_commands Fix duplicate suggestions after an ambiguous command 2018-07-26 17:14:18 +00:00