[Lldb-commits] [lldb] [lldb-dap] Add new optional argument `time-to-live` when using `--connection` (PR #156803)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 4 05:04:20 PDT 2025


================
@@ -283,6 +283,21 @@ serveConnection(const Socket::SocketProtocol &protocol, const std::string &name,
     g_loop.AddPendingCallback(
         [](MainLoopBase &loop) { loop.RequestTermination(); });
   });
+  static MainLoopBase::TimePoint ttl_time_point;
----------------
walter-erquinigo wrote:

add the g_ prefix to this variable because it's a global

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


More information about the lldb-commits mailing list