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

Pengxuan Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 09:47:08 PST 2023


pzheng abandoned this revision.
pzheng added a comment.

Thanks for the feedback, @DavidSpickett! Our longjmp implementation does not use br, so this patch is safe for us. Having said that, I do understand your concern over not generating a bti after setjmp when both sls-blr and branch target enforcement are enabled.

Please kindly keep me in the loop once you have a proper fix for this issue. I am abandoning this patch.


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