[all-commits] [llvm/llvm-project] 021ecb: [ASan] Changed intrisic implemenation to use PLT s...
kstoimenov via All-commits
all-commits at lists.llvm.org
Thu Dec 2 20:07:25 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 021ecbbb4426299e4c4bbff6c839bdab3f85a877
https://github.com/llvm/llvm-project/commit/021ecbbb4426299e4c4bbff6c839bdab3f85a877
Author: Kirill Stoimenov <kstoimenov at google.com>
Date: 2021-12-03 (Fri, 03 Dec 2021)
Changed paths:
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/lib/Target/X86/X86RegisterInfo.td
M llvm/test/CodeGen/X86/asan-check-memaccess-add.ll
M llvm/test/CodeGen/X86/asan-check-memaccess-or.ll
M llvm/test/CodeGen/X86/musttail-varargs.ll
Log Message:
-----------
[ASan] Changed intrisic implemenation to use PLT safe registers.
Changed registers to R10 and R11 because PLT resolution clobbers them. Also changed the implementation to use R11 instead of RCX, which saves a push/pop.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D115002
More information about the All-commits
mailing list