aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-03-16 22:38:39 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-03-16 22:54:02 -0700
commitd10c0c7b187d6a5d7a24544d70998f8d348b4dfd (patch)
tree3b6d7103e5855b020119822eda35b6463fbacfcc /lldb/source/Commands/CommandObjectExpression.cpp
parent77eee5795e2cf753e4400fb089d01018417c4ee0 (diff)
downloadllvm-d10c0c7b187d6a5d7a24544d70998f8d348b4dfd.zip
llvm-d10c0c7b187d6a5d7a24544d70998f8d348b4dfd.tar.gz
llvm-d10c0c7b187d6a5d7a24544d70998f8d348b4dfd.tar.bz2
[lldb] Migrate condition evaluation failure to ReportError
Migrate to using ReportError to report a failure to evaluate a watchpoint condition. I had already done so for the parallel code for breakpoints. In the process, I noticed that I accidentally regressed the error reporting for breakpoint conditions by dropping the call to GetDescription. This patch rectifies that and adds a test. Because the call to GetDescription expects a Stream*, I also switches from using a raw_string_ostream to a StreamString for both breakpoints and watchpoints.
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions