[lldb] Drop RegisterInfoInterface::GetDynamicRegisterInfo
authorPavel Labath <pavel@labath.sk>
Tue, 28 Mar 2023 12:50:16 +0000 (14:50 +0200)
committerPavel Labath <pavel@labath.sk>
Wed, 5 Apr 2023 11:25:43 +0000 (13:25 +0200)
commit933d3ee60007f5798319cad05b981cb265578ba0
tree6b22b04d1f46e6c969a8f1b6eebf8cd1f96a6223
parent8f5db5332b2a4e9465f12e3192120eb28935e1a0
[lldb] Drop RegisterInfoInterface::GetDynamicRegisterInfo

"Dynamic register info" is a very overloaded term, and this particular
instance of it was only used for passing the information about the
"orig_[re]ax" pseudo-register on x86 through some generic code. Since
both sides of the code are x86-specific, I have replaced this with a
more direct route.

Differential Revision: https://reviews.llvm.org/D147045
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h
lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.h
lldb/source/Plugins/Process/Utility/RegisterContextLinux_s390x.cpp
lldb/source/Plugins/Process/Utility/RegisterContextLinux_s390x.h
lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86.h [new file with mode: 0644]
lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h