[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:43 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
----------------
DavidSpickett wrote:

ymm is AVX right? Can you stick to registers from the general purpose set?

I think rip, rflags, r8 would do the job. That's 3 with different length names.

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


More information about the lldb-commits mailing list