[all-commits] [llvm/llvm-project] ad4045: [AArch64][compiler-rt] Strip PAC from the link reg...
Dani via All-commits
all-commits at lists.llvm.org
Mon Mar 15 02:27:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad40453fc425ee8e1fe43c7bb6e3c1c3afa9cc3b
https://github.com/llvm/llvm-project/commit/ad40453fc425ee8e1fe43c7bb6e3c1c3afa9cc3b
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_ptrauth.h
M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp
M compiler-rt/lib/tsan/rtl/tsan_external.cpp
M compiler-rt/lib/tsan/rtl/tsan_interface.cpp
M compiler-rt/lib/tsan/rtl/tsan_interface_inl.h
Log Message:
-----------
[AArch64][compiler-rt] Strip PAC from the link register.
-mbranch-protection protects the LR on the stack with PAC.
When the frames are walked the LR need to be cleared.
This inline assembly later will be replaced with a new builtin.
Test: build with -DCMAKE_C_FLAGS="-mbranch-protection=standard".
Reviewed By: kubamracek
Differential Revision: https://reviews.llvm.org/D98008
More information about the All-commits
mailing list