[Lldb-commits] [PATCH] D91248: [lldb] [Process/FreeBSDRemote] Access FPR via RegisterInfo offsets

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 11 03:56:26 PST 2020

mgorny created this revision.
mgorny added reviewers: labath, krytarowski, emaste.
mgorny requested review of this revision.

Use offset-based method to access base x87 FPU registers, using offsets
relative to the position of 'struct FPR', as determined by the location
of first register in it (fctrl).  Change m_fpr to use a fixed-size array
matching FXSAVE size (512 bytes).  Add unit tests for verifying
RegisterInfo offsets and sizes against the FXSAVE layout.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91248.304465.patch
Type: text/x-patch
Size: 16043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201111/9affa803/attachment-0001.bin>

More information about the lldb-commits mailing list