[Lldb-commits] [lldb] [lldb][test] Skip the sp/rsp check in register sets that have no rsp (PR #226176)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 24 13:50:41 PDT 2026


charles-zablit wrote:

> > This fixes `python_api/value/TestValueAPI.py` (`test_register`) on Windows.
> 
> Was this test failing/skipped on Windows? Or was `self.assertEqual(sp_with_name_index, child_idx)` comparing `None` to `None`?

The test was failing even before on: `assertTrue(sp_with_name_index < num_registers)`
```
File ".../TestValueAPI.py", line 316, in test_register
     self.assertTrue(sp_with_name_index < num_registers)
 AssertionError: False is not true

`sp_with_name_index` was `UINT32_MAX`.

This happens only in swiftlang when using lldb-server.exe.

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


More information about the lldb-commits mailing list