[all-commits] [llvm/llvm-project] c1940a: Revert "[AArch64][compiler-rt] Strip PAC from the ...
Dani via All-commits
all-commits at lists.llvm.org
Thu Mar 18 14:04:50 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1940aac99ea4ea8420dff00a55065a94f1a1195
https://github.com/llvm/llvm-project/commit/c1940aac99ea4ea8420dff00a55065a94f1a1195
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2021-03-18 (Thu, 18 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:
-----------
Revert "[AArch64][compiler-rt] Strip PAC from the link register."
This reverts commit ad40453fc425ee8e1fe43c7bb6e3c1c3afa9cc3b.
Commit: 4220531ceff0742851b8a2a5836400a7a521491d
https://github.com/llvm/llvm-project/commit/4220531ceff0742851b8a2a5836400a7a521491d
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2021-03-18 (Thu, 18 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
Compare: https://github.com/llvm/llvm-project/compare/36335fe75369...4220531ceff0
More information about the All-commits
mailing list