[Lldb-commits] [lldb] [lldb] Improved formatting of 'register read' command. (PR #188049)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 03:01:40 PDT 2026


https://github.com/DavidSpickett commented:

The idea I'm on board with. The implementation is still a bit rough, though I will admit that the existing code is not very principled to begin with. As you've seen with the extra 2 padding spaces for sets, not sure how that happened.

I heavily suggest switching to an API test written in Python. That way you can easily check whether the registers you care about exist or not and prevent failures on hosts that don't have them.

Have a look in lldb/test/API/commands/register/register. (idk why we have it nested like that, a git move mistake I expect)

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


More information about the lldb-commits mailing list