[Lldb-commits] [lldb] [RISCV-LLDB] RISCV feature attribute support and allows overriding additional(default) feature (PR #147990)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 8 06:18:16 PDT 2025


================
@@ -0,0 +1,10 @@
+# REQUIRES: target=riscv32-{{.*}}
+
+# RUN: %lldb -b -o "disassemble -b -n main" %p/Inputs/riscv_xqci.out | FileCheck %s
+
+# CHECK: 051f 0058 0000  qc.e.li a0, 0x58
+# CHECK: 1516              qc.extu a0, a0, 0x6, 0x0
+
+# RUN: %lldb -b -o "disassemble -b -n main -Y -xqci,+c" %p/Inputs/riscv_xqci.out | FileCheck --check-prefix=CHECK-NOXQCI %s
+
+# CHECK-NOXQCI: <unknown>
----------------
DavidSpickett wrote:

Add CHECK-NOXQCI-NOT to check you don't get some `<unknown>` **and** the proper disassembly here.

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


More information about the lldb-commits mailing list