[Lldb-commits] [lldb] [lldb-dap] Add command line option `--connection-timeout` (PR #156803)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 10 07:30:11 PDT 2025


================
@@ -519,8 +591,9 @@ int main(int argc, char *argv[]) {
     Socket::SocketProtocol protocol;
     std::string name;
     std::tie(protocol, name) = *maybeProtoclAndName;
-    if (auto Err = serveConnection(protocol, name, log.get(), default_repl_mode,
-                                   pre_init_commands)) {
+    if (auto Err =
----------------
walter-erquinigo wrote:

oh okay, that's fine.
Well, for lldb-dap llvm::Error is kind of obvious, but not for all llvm code, where llvm::ErrorOr can be used as well.
Anyway, all good with this change

https://github.com/llvm/llvm-project/pull/156803


More information about the lldb-commits mailing list