llvm-project/lldb/test/API
Dave Lee 2bcff220bf [lldb] Set result error state in 'frame variable'
Ensure that errors in `frame variable` are reflected in result object.

The statistics for `frame variable` show invocations as being successful, even
when executing one of the error paths.

This change replaces `result.GetErrorStream()` with `result.AppendError()`,
which also sets the status to `eReturnStatusFailed`.

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

(cherry picked from commit 2c7d10c412)
2022-01-09 13:26:30 -08:00
..
android/platform [lldb] Remove lldbtest.getBuildFlags 2021-12-30 12:19:24 +01:00
api [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
arm [lldb/test] Skip TestBreakpointThumbCodesection on arm64. 2020-06-25 16:20:27 -07:00
assert_messages_test [lldb] Introduce createTestTarget for creating a valid target in API tests 2021-05-24 16:18:44 +02:00
benchmarks [lldb/Test] Add a trace method to replace print statements. 2020-05-25 11:11:46 -07:00
commands [lldb] Compute fully qualified command names in FindCommandsForApropos 2022-01-09 12:11:32 -08:00
driver/batch_mode [LLDB] Skip random fails on Arm/AArch64 Linux buildbot 2021-08-09 13:53:48 +05:00
functionalities [LLDB] libcxx summary formatters for std::string_view 2022-01-07 11:41:16 -08:00
iohandler Revert "[lldb] Fix that the embedded Python REPL crashes if it receives SIGINT" 2021-11-13 18:18:24 +01:00
lang [lldb] Set result error state in 'frame variable' 2022-01-09 13:26:30 -08:00
linux Revert "Revert D109159 "[amdgpu] Enable selection of `s_cselect_b64`."" 2022-01-05 13:10:25 -05:00
lua_api [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
macosx Support v2 of 'main bin spec' Mach-O LC_NOTE in corefiles 2021-12-22 00:02:27 -08:00
python_api [lldb/API] Add SetDataWithOwnership method to SBData 2021-12-13 11:05:06 -08:00
qemu [lldb/qemu] Set qemu's "ld prefix" based on the platform sysroot 2022-01-03 14:48:13 +01:00
repl/clang [LLDB] Skip TestClangREPL.py on Arm/AArch64 Linux 2021-10-04 11:50:17 +05:00
sample_test [lldb] Readd deleted variable in the sample test 2021-05-24 16:29:25 +02:00
sanity
source-manager [lldb/Target] Refine source display warning for artificial locations (NFC) 2021-12-09 14:38:14 -08:00
terminal [LLDB] Skip flaky tests on Arm/AArch64 Linux bots 2021-08-04 16:57:36 +05:00
test_runner/test
test_utils [lldb/test] Print build commands in trace mode 2021-10-29 11:33:31 +02:00
tools [lldb-server/linux] Fix waitpid for multithreaded forks 2022-01-03 14:27:52 +01:00
types [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
CMakeLists.txt [lldb] Copy the system debugserver in LLDB.framework 2021-09-24 15:07:22 -07:00
dotest.py
get_darwin_real_python.py [lldb/test][Darwin] Ask dyld where the real python is 2020-05-08 10:22:58 -07:00
lit.cfg.py [lldb] Use lit_config.note to print module cache message 2022-01-07 13:35:18 -08:00
lit.site.cfg.py.in [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
lldbtest.py [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
use_lldb_suite.py [lldb/test] Use realpath consistently for test root file paths. 2020-08-05 11:35:37 -07:00