[Lldb-commits] [lldb] [lldb] Add a progress event for executing an expression (PR #119757)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 12 13:17:02 PST 2024
================
@@ -424,6 +425,14 @@ UserExpression::Execute(DiagnosticManager &diagnostic_manager,
const EvaluateExpressionOptions &options,
lldb::UserExpressionSP &shared_ptr_to_me,
lldb::ExpressionVariableSP &result_var) {
+ Debugger *debugger =
+ exe_ctx.GetTargetPtr() ? &exe_ctx.GetTargetPtr()->GetDebugger() : nullptr;
+ Progress progress("Running expression",
+ m_options.IsForUtilityExpr()
+ ? "(LLDB utility)"
----------------
JDevlieghere wrote:
I think `Running expression: (LLDB utility)` would look weird in the terminal.
https://github.com/llvm/llvm-project/pull/119757
More information about the lldb-commits
mailing list