[Lldb-commits] [lldb] [lldb][AArch64][Linux] Track all register cache validity in one place (PR #197113)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue May 12 00:53:16 PDT 2026
================
@@ -1010,7 +987,7 @@ Status NativeRegisterContextLinux_arm64::ReadAllRegisterValues(
// Use the header size not the buffer size, as we may be using the buffer
// for fake data, which we do not want to write out.
assert(m_za_header.size <= GetZABufferSize());
- dst = AddSavedRegisters(dst, RegisterSetType::SME, GetZABuffer(),
+ dst = AddSavedRegisters(dst, RegisterSetType::ZA, GetZABuffer(),
----------------
DavidSpickett wrote:
RegisterSetType::SME always meant ZA really.
SME registers from the user POV are:
* ZA - a real register with it's own ptrace set
* svcr / svl - pseudo registers we derive from the streaming sve set
* ZT - a real register provided by sme2.
So I've changed SME -> ZA to be more honest about what it tracks. The names won't always line up with ptrace's names exactly but generally we should try to.
https://github.com/llvm/llvm-project/pull/197113
More information about the lldb-commits
mailing list