[Lldb-commits] [lldb] [lldb][AArch64][Linux] Add support for SME only systems (PR #165413)

Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 18 07:33:01 PST 2025


================
@@ -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


More information about the lldb-commits mailing list