[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 28 11:22:23 PDT 2025
================
@@ -1993,23 +1994,23 @@ bool CommandInterpreter::HandleCommand(const char *command_line,
// Those will be collected by the on-exit-callback.
});
- helper.DispatchOnExit([&cmd_obj, &parsed_command_args, &result,
- detailed_command_telemetry, command_id](
- lldb_private::telemetry::CommandInfo *info) {
- // TODO: this is logging the time the command-handler finishes.
- // But we may want a finer-grain durations too?
- // (ie., the execute_time recorded below?)
- info->command_id = command_id;
- llvm::StringRef command_name =
- cmd_obj ? cmd_obj->GetCommandName() : "<not found>";
- info->command_name = command_name.str();
- info->ret_status = result.GetStatus();
- if (std::string error_str = result.GetErrorString(); !error_str.empty())
- info->error_data = std::move(error_str);
-
- if (detailed_command_telemetry)
- info->args = parsed_command_args;
- });
+ helper.DispatchOnExit(
+ [&cmd_obj, &parsed_command_args, &result, detailed_command_telemetry,
+ command_id](lldb_private::telemetry::CommandInfo *info) {
+ // TODO: this is logging the time the command-handler finishes.
+ // But we may want a finer-grain durations too?
+ // (ie., the execute_time recorded below?)
+ info->command_id = command_id;
+ llvm::StringRef command_name =
+ cmd_obj ? cmd_obj->GetCommandName() : "<not found>";
+ info->command_name = command_name.str();
+ info->ret_status = result.GetStatus();
+ if (std::string error_str = result.GetErrorString(); !error_str.empty())
+ info->error_data = std::move(error_str);
+
+ if (detailed_command_telemetry)
+ info->args = parsed_command_args;
+ });
----------------
JDevlieghere wrote:
Unintentional formatting change?
https://github.com/llvm/llvm-project/pull/155714
More information about the lldb-commits
mailing list