HomePhabricator

[lldb] [DynamicRegisterInfo] Remove AddRegister() and make Finalize() protected

Authored by mgorny on Oct 9 2021, 12:22 PM.

Description

[lldb] [DynamicRegisterInfo] Remove AddRegister() and make Finalize() protected

Now that AddRegister() is no longer used, remove it. While at it,
we can also make Finalize() protected as all supported API methods
call it internally.

Differential Revision: https://reviews.llvm.org/D111498