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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 30 05:08:41 PDT 2026


================
@@ -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) {
----------------
DavidSpickett wrote:

Yep, because we've told the client that there are SVE registers we have to keep that illusion. Add to that the streaming mode system, and we have a lot of conversions in both directions.

Unfortunately, I can't think of anything to do about it other than agree with you. It is what it is.

https://github.com/llvm/llvm-project/pull/165413


More information about the lldb-commits mailing list