[Lldb-commits] [lldb] [lldb] add --platform-available-ports option to the dotest.py (PR #112555)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 27 09:59:25 PDT 2025


================
@@ -292,6 +292,13 @@ def create_parser():
         metavar="platform-working-dir",
         help="The directory to use on the remote platform.",
     )
+    group.add_argument(
+        "--platform-available-ports",
+        dest="lldb_platform_available_ports",
+        type=lambda ports: [int(port.strip()) for port in ports.split(":")],
+        metavar="platform-available-ports",
+        help="Ports available for connection to a lldb server on the remote platform",
+    )
----------------
dlav-sc wrote:

addressed

> Does something prevent that here?

I'm just bad at python :3

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


More information about the lldb-commits mailing list