HomePhabricator

[Lsan] Use fp registers to search for pointers

Authored by vitalybuka on Sep 17 2020, 12:15 PM.

Description

[Lsan] Use fp registers to search for pointers

X86 can use xmm registers for pointers operations. e.g. for std::swap.
I don't know yet if it's possible on other platforms.

NT_X86_XSTATE includes all registers from NT_FPREGSET so
the latter used only if the former is not available. I am not sure how
reasonable to expect that but LLD has such fallback in
NativeRegisterContextLinux_x86_64::ReadFPR.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D87754

Details

Committed
vitalybukaSep 17 2020, 12:16 PM
Reviewer
morehouse
Differential Revision
D87754: [Lsan] Use fp registers to search for pointers
Parents
rGc145a1ca2593: AArch64::ArchKind's underlying type is uint64_t
Branches
Unknown
Tags
Unknown