On for 64-bit targets, the correct register set to read the fxsave are is
NT_PRFPREG (only 32-bit targets need NT_PRXFPREG, presumably for historic
reasons). Reference:
https://github.com/torvalds/linux/blob/v4.8/arch/x86/kernel/ptrace.c#L1261.
Details
Details
- Reviewers
valentinagiusti tberghammer - Commits
- rG6ec13991f583: Fix floating point register reads x86_64 linux on targets with no AVX support
rLLDB288038: Fix floating point register reads x86_64 linux on targets with no AVX support
rL288038: Fix floating point register reads x86_64 linux on targets with no AVX support
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp | ||
---|---|---|
246–247 ↗ | (On Diff #79388) | (nit): Please revert |