This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] DynamicRegisterInfo calculate offsets in separate function
ClosedPublic

Authored by omjavaid on Jan 4 2021, 12:50 AM.

Details

Summary

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.

Diff Detail

Event Timeline

omjavaid requested review of this revision.Jan 4 2021, 12:50 AM
omjavaid created this revision.
labath accepted this revision.Jan 6 2021, 5:50 AM

LG, modulo inline comment.

lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h
45–46

Users should not be calling this, right? Could we make this protected?

This revision is now accepted and ready to land.Jan 6 2021, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2021, 3:26 AM