diff options
author | Dave Lee <davelee.com@gmail.com> | 2022-01-06 19:38:31 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2022-01-08 08:50:17 -0800 |
commit | 2c7d10c41278181e3e45c68f28b501cd95193a8a (patch) | |
tree | 50b7ccaf78027b56ce4ccd467cbecfa1d8743319 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 6ee589e2f563a2a5c91f9aeb2762f092dd197e32 (diff) | |
download | llvm-2c7d10c41278181e3e45c68f28b501cd95193a8a.zip llvm-2c7d10c41278181e3e45c68f28b501cd95193a8a.tar.gz llvm-2c7d10c41278181e3e45c68f28b501cd95193a8a.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
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions