[PATCH] D135103: [AArch64] Generate SEH info for PAC instructions

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 10:52:37 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:1876
+      MBBI != MBB.end() && MBBI->getOpcode() == AArch64::RET_ReallyLR &&
+      !NeedsWinCFI) {
     BuildMI(MBB, MBBI, DL,
----------------
Technically we could support this; we can represent it as "end_c; pac_sign_return_address; end".  But we can leave that as a followup.

Probably worth adding a testcase for this, in any case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135103



More information about the llvm-commits mailing list