[Lldb-commits] [PATCH] D88583: [lldb] [test/Register] Add partial read/write tests for x87 regs

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 30 08:48:01 PDT 2020


mgorny created this revision.
mgorny added reviewers: labath, krytarowski.
Herald added a project: LLDB.
mgorny requested review of this revision.
Herald added a subscriber: JDevlieghere.

Add a partial read/write tests for x87 FPU registers.  This includes
reading and writing ST registers, reading basic control registers
in exception state (including operand code) and writing basic control
registers in non-exception state (marking the registers as used,
practically speaking).

The tests assume the current (roughly incorrect) behavior of reporting
the 'abridged' 8-bit ftag state as 16-bit ftag.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88583

Files:
  lldb/test/Shell/Register/Inputs/x86-fp-read.cpp
  lldb/test/Shell/Register/Inputs/x86-fp-write.cpp
  lldb/test/Shell/Register/x86-fp-read.test
  lldb/test/Shell/Register/x86-fp-write.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88583.295304.patch
Type: text/x-patch
Size: 5467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200930/bd25a033/attachment.bin>


More information about the lldb-commits mailing list