[llvm-branch-commits] [llvm] Add deactivation symbol operand to ConstantPtrAuth. (PR #133537)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 25 22:19:04 PST 2025
================
@@ -2471,6 +2483,12 @@ const MCExpr *AArch64AsmPrinter::emitPAuthRelocationAsIRelative(
MCSymbolRefExpr::create(EmuPAC, OutStreamer->getContext());
OutStreamer->emitInstruction(MCInstBuilder(AArch64::B).addExpr(EmuPACRef),
*STI);
+
+ // We need a RET despite the above tail call because the deactivation symbol
+ // may replace it with a NOP.
----------------
pcc wrote:
Done
https://github.com/llvm/llvm-project/pull/133537
More information about the llvm-branch-commits
mailing list