[Lldb-commits] [lldb] [llvm] [lldb] Extended if conditions to support alias names for registers (PR #124475)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 19 02:01:54 PST 2025


================
@@ -0,0 +1,37 @@
+# REQUIRES: native && target-riscv64
+# RUN: %clangxx_host %p/Inputs/riscv64-gp-read.cpp -o %t
+# RUN: %lldb -b -s %s %t | FileCheck %s
+process launch
+
+register read --all
+# CHECK-DAG: x0 = 0x0
+# CHECK-DAG: x1 = 0x1
+# CHECK-DAG: x2 = 0x2
+# CHECK-DAG: x3 = 0x3
+# CHECK-DAG: x4 = 0x4
+# CHECK-DAG: x5 = 0x5
+# CHECK-DAG: x6 = 0x6
+# CHECK-DAG: x7 = 0x7
+# CHECK-DAG: x9 = 0x9
+# CHECK-DAG: x10 = 0xa
+# CHECK-DAG: x11 = 0xb
+# CHECK-DAG: x12 = 0xc
+# CHECK-DAG: x13 = 0xd
+# CHECK-DAG: x14 = 0xe
+# CHECK-DAG: x15 = 0xf
+# CHECK-DAG: x16 = 0x10
+# CHECK-DAG: x17 = 0x11
+# CHECK-DAG: x18 = 0x12
+# CHECK-DAG: x19 = 0x13
+# CHECK-DAG: x20 = 0x14
+# CHECK-DAG: x21 = 0x15
+# CHECK-DAG: x22 = 0x16
+# CHECK-DAG: x23 = 0x17
+# CHECK-DAG: x24 = 0x18
+# CHECK-DAG: x25 = 0x19
+# CHECK-DAG: x26 = 0x1a
+# CHECK-DAG: x27 = 0x1b
+# CHECK-DAG: x28 = 0x1c
+# CHECK-DAG: x29 = 0x1d
+# CHECK-DAG: x30 = 0x1e
+# CHECK-DAG: x31 = 0x1f
----------------
DavidSpickett wrote:

This does not check the alias names, it should.

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


More information about the lldb-commits mailing list