HomePhabricator

[lldb] [Process/NetBSD] Support reading YMM registers via PT_*XSTATE

Authored by mgorny on Jul 1 2019, 8:11 AM.

Description

[lldb] [Process/NetBSD] Support reading YMM registers via PT_*XSTATE

Provide a (conditional) support for the new PT_GETXSTATE
and PT_SETXSTATE ptrace() requests, and use them to implement getting
and setting YMM registers. The functions used for splitting
and recombining YMM register data are based on matching functions
in FreeBSD plugin, with some simplification and updates to match NetBSD
structures.

Differential Revision: https://reviews.llvm.org/D63545

llvm-svn: 364779

Details

Committed
mgornyJul 1 2019, 8:11 AM
Differential Revision
D63545: [lldb] [Process/NetBSD] Support reading YMM registers via PT_*XSTATE
Parents
rG2ba16011c139: Fixup r364512
Branches
Unknown
Tags
Unknown