Correct debugserver to write xmm/ymm/zmm reg values
authorJason Molenda <jason@molenda.com>
Thu, 7 Apr 2022 06:33:19 +0000 (23:33 -0700)
committerJason Molenda <jason@molenda.com>
Thu, 7 Apr 2022 06:36:52 +0000 (23:36 -0700)
commit4d3cc27831383987b38e60875573982af5e0538b
tree90ec9a4fe0a408915e4a90cc832b8b66730c8092
parentf8911235566865f2b81675d62634d05cecc0d143
Correct debugserver to write xmm/ymm/zmm reg values

debugserver does not call thread_set_state when changing xmm/ymm/zmm
register values, so the register contents are never updated.  Fix
that.  Mark the shell tests which xfail'ed these tests on darwin systems
to xfail them when the system debugserver, they will pass when using
the in-tree debugserver.  When this makes it into the installed
system debugservers, we'll remove the xfails.

Differential Revision: https://reviews.llvm.org/D123269
rdar://91258333
rdar://31294382
lldb/test/Shell/Register/x86-64-write.test
lldb/test/Shell/Register/x86-64-ymm-write.test
lldb/test/Shell/Register/x86-64-zmm-write.test
lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp