[lldb] [llvm] [lldb] Split register descriptions from ProcessUtility (PR #222330)

Minsoo Choo via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 07:48:56 PDT 2026


mchoo7 wrote:

> I see the principle of it, but I am not sure what this is in aid of.
> 

Register-related files in Process/Utility are hard to read so I want to refactor them under lldbRegister (source/Register) by arch/OS. If you don't like creating new register library, I can just refactor under Process/Utility. But I think putting them into a separate library prevents developers from making similar mistakes in future (e.g. mixing register definitions and platform-specific interface).

> Also, is this PR a half step to this being a "proper" library? Because it's currently nested within utility, and it seems like it shouldn't be.

Yes.


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


More information about the llvm-commits mailing list