HomePhabricator

[LLDB] Add support to resize SVE registers at run-time

Authored by omjavaid on Jan 19 2021, 1:52 AM.

Description

[LLDB] Add support to resize SVE registers at run-time

This patch builds on previously submitted SVE patches regarding expedited
register set and per thread register infos. (D82853 D82855 and D82857)

We need to resize SVE register based on value received in expedited list.
Also we need to resize SVE registers when we write vg register using
register write vg command. The resize will result in a updated offset
for all of fpr and sve register set. This offset will be configured
in native register context by RegisterInfoInterface and will also be
be updated on client side in GDBRemoteRegisterContext.

A follow up patch will provide a API test to verify this change.

Reviewed By: labath

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

Details

Committed
omjavaidJan 19 2021, 2:01 AM
Reviewer
labath
Differential Revision
D82863: [LLDB] Add support to resize SVE registers at run-time
Parents
rG079e66466177: [lldb] Re-enable TestPlatformProcessConnect on macos
Branches
Unknown
Tags
Unknown