[PATCH] D143235: [AArch64] Avoid lowering setjmp call to CALL_BTI if harden-sls-blr is enabled

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 01:57:40 PST 2023


DavidSpickett added a comment.

Not crashing seems reasonable :)

I don't know what the interaction of BTI and the sls-blr is though. Does not emitting the bti actually break things if you have sls-blr and branch target enforcement enabled? Perhaps the `__llvm_slsblr_thunk_x` would make that all work because it would contain the required btis.

I defer to @kristof.beyls on that one.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143235/new/

https://reviews.llvm.org/D143235



More information about the llvm-commits mailing list