[lldb] [ABI/X86] Support combining xmm* and ymm*h regs into ymm*
authorMichał Górny <mgorny@moritz.systems>
Fri, 27 Aug 2021 16:55:37 +0000 (18:55 +0200)
committerMichał Górny <mgorny@moritz.systems>
Tue, 19 Oct 2021 08:31:07 +0000 (10:31 +0200)
commit5352ea4a721ef252129994111b83dc350ecc71da
tree3e5defe2f6cd2e8bf25ad0df256cbc9727181bd6
parentcf65271e462f0626157a06f2f3a9615b4987c24e
[lldb] [ABI/X86] Support combining xmm* and ymm*h regs into ymm*

gdbserver does not expose combined ymm* registers but rather XSAVE-style
split xmm* and ymm*h portions.  Extend value_regs to support combining
multiple registers and use it to create user-friendly ymm* registers
that are combined from split xmm* and ymm*h portions.

Differential Revision: https://reviews.llvm.org/D108937
lldb/include/lldb/lldb-private-types.h
lldb/source/Plugins/ABI/X86/ABIX86.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Target/DynamicRegisterInfo.cpp
lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py