[PATCH] D144082: [llvm][AArch64] Fix BTI after returns_twice when call has no attributes
David Spickett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 01:37:42 PST 2023
DavidSpickett added a reviewer: nikic.
DavidSpickett added a comment.
Herald added a subscriber: StephenFan.
As suggested on https://github.com/llvm/llvm-project/issues/60732.
With this fix if clang converts an indirect call into a direct call, we will correctly protect that with a bti instruction. This matches the expected behaviour and what gcc produces.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144082/new/
https://reviews.llvm.org/D144082
More information about the llvm-commits
mailing list