[Lldb-commits] [lldb] [lldb] Improved formatting of 'register read' command. (PR #188049)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 03:01:44 PDT 2026


================
@@ -0,0 +1,13 @@
+# REQUIRES: x86
+
+# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out
+# RUN: %lldb -b -o "breakpoint set --name main" \
+# RUN:        -o run \
+# RUN:        -o "register read pc ymm7 ymm12 fs_base" \
+# RUN:        %t.out | FileCheck --strict-whitespace %s
+
+# CHECK: (lldb) register read pc ymm7 ymm12 fs_base
+# CHECK: {{^      rip = }}
----------------
DavidSpickett wrote:

So for this one I would use CHECK-NEXT, but for the register set test, individual CHECK is fine because then you don't have to copy every single line into the test.

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


More information about the lldb-commits mailing list