[PATCH] D143915: [llvm][AArch64] Fix an interaction of SLS and BTI after a returns twice call
David Spickett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 13 07:40:01 PST 2023
DavidSpickett added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/speculation-hardening-sls-blr-bti.mir:73
+ ; CHECK-NEXT: BL <mcsymbol __llvm_slsblr_thunk_x8>, implicit-def $lr, implicit $sp, implicit killed $x8
+ ; CHECK-NEXT: HINT 36
+ ; CHECK-NEXT: }
----------------
Note that the sls thunk is transparent such that when the setjmp returns it will hit this bti, not to somewhere in the thunk.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143915/new/
https://reviews.llvm.org/D143915
More information about the llvm-commits
mailing list