llvm-project/lldb
Dave Lee 696f9706f3 [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

Recommitting after D116901 and D116863.

(cherry picked from commit 2c7d10c412)
2022-01-15 14:20:12 -08:00
..
bindings [CMake][LLDB] Resolve install conflict when `LLDB_BUILD_FRAMEWORK=ON` 2022-01-15 10:43:05 -08:00
cmake [lldb] Use `GNUInstallDirs` to support custom installation dirs. 2021-12-22 00:28:53 +00:00
docs [lldb/doc] Rephrase tutorial paragraph (NFC) 2022-01-14 16:23:26 -08:00
examples [LLDB][NFC] Fix a typo in comment 2022-01-14 22:01:18 +08:00
include/lldb Revert "Revert "[LLDB][NativePDB] Add support for inlined functions"" 2022-01-13 14:00:24 -08:00
packages/Python/lldbsuite [lldb] [llgs] Implement qXfer:siginfo:read 2022-01-13 11:24:36 +01:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] Set result error state in 'frame variable' 2022-01-15 14:20:12 -08:00
test [lldb] Correctly display the number of types found 2022-01-15 10:31:49 -08:00
third_party/Python/module [lldb][NFC] Inclusive language: replace master/slave names for ptys 2021-11-12 10:54:18 -06:00
tools [lldb] Remove lldb-instr 2022-01-10 11:48:16 -08:00
unittests [lldb] Remove PlatformDarwin::GetCompatibleArch helper 2022-01-15 09:51:16 -08:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
.gitignore
CMakeLists.txt [lldb] Use `GNUInstallDirs` to support custom installation dirs. 2021-12-22 00:28:53 +00:00
CODE_OWNERS.txt [CODE OWNERS] Add wallace as code owner 2022-01-12 12:36:30 -08:00
LICENSE.TXT
use_lldb_suite_root.py