[Lldb-commits] [lldb] [lldb][AArch64] Move register info reconfigure into architecture plugin (PR #70950)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 1 16:53:14 PDT 2023
================
@@ -373,14 +374,8 @@ bool GDBRemoteRegisterContext::WriteRegisterBytes(const RegisterInfo *reg_info,
if (dst == nullptr)
return false;
- // Code below is specific to AArch64 target in SVE or SME state
- // If vector granule (vg) register is being written then thread's
- // register context reconfiguration is triggered on success.
- // We do not allow writes to SVG so it is not mentioned here.
- const ArchSpec &arch = process->GetTarget().GetArchitecture();
- bool do_reconfigure_arm64_sve = arch.IsValid() &&
- arch.GetTriple().isAArch64() &&
- (strcmp(reg_info->name, "vg") == 0);
+ bool should_reconfigure_registers =
----------------
bulbazord wrote:
`const`? 😄
https://github.com/llvm/llvm-project/pull/70950
More information about the lldb-commits
mailing list