================
@@ -349,8 +353,52 @@ NativeRegisterContextLinux_arm64::ReadRegister(const 
RegisterInfo *reg_info,
       return Status::FromErrorString("SVE disabled or not supported");
 
     if (GetRegisterInfo().IsSVERegVG(reg)) {
+      error = ReadSVEHeader();
+      if (error.Fail()) {
+        return error;
+      }
+
       sve_vg = GetSVERegVG();
       src = (uint8_t *)&sve_vg;
+    } else if (m_sve_state == SVEState::StreamingFPSIMD) {
+      // When we only have streaming SVE and we are not in streaming mode,
+      // we cannot reading streaming SVE registers.
----------------
DavidSpickett wrote:

Will change reading -> read.

https://github.com/llvm/llvm-project/pull/165413
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to