aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2022-01-06 19:38:31 -0800
committerDave Lee <davelee.com@gmail.com>2022-01-09 13:26:30 -0800
commit2bcff220bf1e372e91491911fe0bb76c4c4bbef8 (patch)
tree2d9b30afc7cbcdb6d74439a555211fc056dd0bdf /lldb/source/Commands/CommandObjectScript.cpp
parenta6f1d046655c6850a355bb4557cb0dd463c9de0a (diff)
downloadllvm-2bcff220bf1e372e91491911fe0bb76c4c4bbef8.zip
llvm-2bcff220bf1e372e91491911fe0bb76c4c4bbef8.tar.gz
llvm-2bcff220bf1e372e91491911fe0bb76c4c4bbef8.tar.bz2
[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 2c7d10c41278181e3e45c68f28b501cd95193a8a)
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions