[Lldb-commits] [lldb] [lldb][AArch64] Invalidate SVG prior to reconfiguring ZA regdef (PR #66768)
Omair Javaid via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 24 20:43:49 PDT 2023
================
@@ -783,6 +783,11 @@ void GDBRemoteRegisterContext::AArch64Reconfigure() {
std::optional<uint64_t> svg_reg_value;
const RegisterInfo *svg_reg_info = m_reg_info_sp->GetRegisterInfo("svg");
if (svg_reg_info) {
+ // When vg is written it is automatically made invalid. Writing vg will also
+ // change svg if we're in streaming mode but it will not be made invalid
+ // so do this manually so the following read gets the latest svg value.
----------------
omjavaid wrote:
Sorry for the delay on this PR. I agree with your approach.
https://github.com/llvm/llvm-project/pull/66768
More information about the lldb-commits
mailing list