DynamicRegisterInfo calculate offsets in separate function
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Fri, 15 Jan 2021 11:12:20 +0000 (16:12 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Fri, 15 Jan 2021 11:21:18 +0000 (16:21 +0500)
commitb9993fcbf53aa28ca2e7696a1855affeb558b51c
tree091731305bc01a945cb0cff5f7ba64e53e75385d
parent4fd77668b2cc215f0605fe20bb989b90b29f4346
DynamicRegisterInfo calculate offsets in separate function

This patch pull offset calculation logic out of DynamicRegisterInfo::Finalize
into a separate function. We are going to call this function whenever we
update SVE register sizes.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D94008
lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h