================
@@ -544,9 +597,50 @@ Status NativeRegisterContextLinux_arm64::WriteRegister(
       return WriteAllSVE();
     }
   } else if (IsSVE(reg)) {
-    if (m_sve_state == SVEState::Disabled || m_sve_state == SVEState::Unknown)
+    if (m_sve_state == SVEState::Disabled || m_sve_state == SVEState::Unknown) 
{
       return Status::FromErrorString("SVE disabled or not supported");
-    else {
+    } else if (m_sve_state == SVEState::StreamingFPSIMD) {
----------------
omjavaid wrote:

This probably handles the overlapping offsets of SVE FPSIMD registers by 
copying over. I cant find a loop hole in the logic but just smelling that the 
code has become too complex due to too many register configurations stitched 
together.

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