[Lldb-commits] [lldb] [lldb-dap] Refactoring lldb-dap port listening mode to allow multiple connections. (PR #116392)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 15 10:04:48 PST 2024


================
@@ -22,8 +22,17 @@ def port: S<"port">,
   HelpText<"Communicate with the lldb-dap tool over the defined port.">;
 def: Separate<["-"], "p">,
   Alias<port>,
+  MetaVarName<"<port>">,
   HelpText<"Alias for --port">;
 
+def unix_socket: S<"unix-socket">,
+  MetaVarName<"<path>">,
+  HelpText<"Communicate with the lldb-dap tool over the unix socket or named pipe.">;
+def: Separate<["-"], "u">,
----------------
vogelsgesang wrote:

```suggestion
def: Separate<["-"], "s">,
```

(assuming we rename `unix_socket` to `socket`)

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


More information about the lldb-commits mailing list