[Lldb-commits] [lldb] [LLDB] Expose and display GDB remote register union values (PR #224147)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 20 02:28:53 PDT 2026


DavidSpickett wrote:

One of the tests passes a > 32-bit index and fails on a 32-bit host:
```
======================================================================
FAIL: test_invalid_union_member_paths (TestXMLRegisterUnion.TestXMLRegisterUnion.test_invalid_union_member_paths)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterUnion.py", line 754, in test_invalid_union_member_paths
    self.expect(command, error=True, substrs=["array index"])
  File "/buildbot/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 3008, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"register read v0[4294967296]"

Got output:
error: invalid index expression ""

Expecting sub string: "array index" (was not found)
Config=arm-/buildbot/lldb-arm-ubuntu/build/bin/clang
----------------------------------------------------------------------
```
I'm looking at it now. 

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


More information about the lldb-commits mailing list