[Lldb-commits] [lldb] [lldb] add RISCV target specific info in API tests (PR #99039)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 16 08:03:17 PDT 2024


================
@@ -34,6 +34,8 @@ def check_first_register_readable(test_case):
         test_case.expect("register read r0", substrs=["r0 = 0x"])
     elif arch in ["powerpc64le"]:
         test_case.expect("register read r0", substrs=["r0 = 0x"])
+    elif arch in ["rv64gc"]:
----------------
DavidSpickett wrote:

I guess `zero = 0x` would be fine for any `rv(32|64)` target.

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


More information about the lldb-commits mailing list