[Lldb-commits] [lldb] update lldb-server platform help parsing (PR #162730)
Chad Smith via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 22 11:14:13 PDT 2025
================
@@ -0,0 +1,41 @@
+# UNSUPPORTED: system-windows
+
+RUN: %platformserver --help 2>&1 | FileCheck %s
+RUN: %platformserver -h 2>&1 | FileCheck %s
+RUN: %lldb-server p --help 2>&1 | FileCheck %s
+RUN: %lldb-server p -h 2>&1 | FileCheck %s
+RUN: %lldb-server platform --help 2>&1 | FileCheck %s
+RUN: %lldb-server platform -h 2>&1 | FileCheck %s
+
+CHECK: OVERVIEW: lldb-server platform
+CHECK: USAGE: lldb-server {{p|platform}} [options] --listen <{{[[]}}host]:port> {{[[]}}[--] program args...]
----------------
cs01 wrote:
It was kinda hard to read, it was basically looking for a `[` but was put inside `[]`. I changed it to be `\[` so now it's `{{\[}}`. Hopefully it is a bit easier to read.
https://github.com/llvm/llvm-project/pull/162730
More information about the lldb-commits
mailing list