aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2022-10-17 17:27:10 -0700
committerAdrian Prantl <aprantl@apple.com>2022-10-17 17:27:54 -0700
commit2c9093e649c4078c1083f489b72dda7ad54baea5 (patch)
tree85bd9e5fc6db9ecd266e7a07491c123a0c308aa4 /lldb/source/Commands/CommandObjectExpression.cpp
parentd5a99bf5e134b31cf6ef3219313fa7d2fc480629 (diff)
downloadllvm-2c9093e649c4078c1083f489b72dda7ad54baea5.zip
llvm-2c9093e649c4078c1083f489b72dda7ad54baea5.tar.gz
llvm-2c9093e649c4078c1083f489b72dda7ad54baea5.tar.bz2
Revert "Make sure Target::EvaluateExpression() passes up an error instead of silently dropping it."
This reverts commit a31a5da3c7d7393749a43dbc678fd28fb94d07f6.
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index be306f2..b7d129e 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -461,8 +461,6 @@ bool CommandObjectExpression::EvaluateExpression(llvm::StringRef expr,
result.SetStatus(eReturnStatusFailed);
}
}
- } else {
- error_stream.Printf("error: unknown error\n");
}
return (success != eExpressionSetupError &&