[Lldb-commits] [lldb] [lldb][Windows] Add SVE register read/write support in lldb-server (PR #205906)

Ayush Sahay via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 26 12:55:24 PDT 2026


================
@@ -18,6 +18,10 @@
 
 #include "lldb/Host/windows/windows.h"
 
+#if defined(PF_ARM_SVE_INSTRUCTIONS_AVAILABLE)
----------------
ayushsahay1837 wrote:

I'm afraid the gated blocks depend on additional identifiers – _XSAVE_ARM64_SVE_HEADER_, _XSTATE_MASK_ARM64_SVE_, and _XSTATE_ARM64_SVE_. They also reference ⁠[_LocateXStateFeature_](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-locatexstatefeature) / ⁠[_GetXStateFeaturesMask_](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getxstatefeaturesmask) / ⁠[_SetXStateFeaturesMask_](http://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setxstatefeaturesmask), which older Windows SDKs do not declare for _AArch64_.

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


More information about the lldb-commits mailing list