[all-commits] [llvm/llvm-project] d96cb5: [lldb] [Process/NetBSD] Use XStateRegSet for all F...
Michał Górny via All-commits
all-commits at lists.llvm.org
Sat Oct 24 00:18:12 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d96cb52830fd7109cead60956a9b108935988e5c
https://github.com/llvm/llvm-project/commit/d96cb52830fd7109cead60956a9b108935988e5c
Author: Michał Górny <mgorny at moritz.systems>
Date: 2020-10-24 (Sat, 24 Oct 2020)
Changed paths:
M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h
Log Message:
-----------
[lldb] [Process/NetBSD] Use XStateRegSet for all FPU registers
Unify the x86 regset API to use XStateRegSet for all FPU registers,
therefore eliminating the legacy API based on FPRegSet. This makes
the code a little bit simpler but most notably, it provides future
compatibility for register caching.
Since the NetBSD kernel takes care of providing compatibility with
pre-XSAVE processors, PT_{G,S}ETXSTATE can be used on systems supporting
only FXSAVE or even plain FSAVE (and unlike PT_{G,S}ETXMMREGS, it
clearly indicates that XMM registers are not supported).
Differential Revision: https://reviews.llvm.org/D90034
More information about the All-commits
mailing list