[Lldb-commits] [PATCH] D108468: [lldb] [gdb-remote] Fix displaying i387_ext & vec regs with gdbserver

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 8 06:47:14 PDT 2021

mgorny added a comment.

At a quick glance, we'd have to enhance `Scalar` to fully support x87 extended type. FWICS it's currently modeled to use convert `APFloat` from/to `float`/`double`/`long double` types. Maybe we could get away with some lossy rounding but it doesn't like a good way forward. It would probably be a better idea to drop some of the abstraction and/or use `APFloat` more.

I don't think an effort to getting proper x87 float support should be blocking this. If anyone is sufficiently motivated to implement it, it will be easy to switch the client to it, both for lldb-server and gdbserver usage.



More information about the lldb-commits mailing list