[all-commits] [llvm/llvm-project] 5813fc: [Lsan] Use fp registers to search for pointers
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Thu Sep 17 12:16:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5813fca1076089c835de737834955a0fe7eb3898
https://github.com/llvm/llvm-project/commit/5813fca1076089c835de737834955a0fe7eb3898
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
M compiler-rt/test/lsan/TestCases/use_registers.cpp
A compiler-rt/test/lsan/TestCases/use_registers_extra.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list