[llvm-branch-commits] [llvm] Add IR and codegen support for deactivation symbols. (PR #133536)

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 24 19:08:49 PST 2025


================
@@ -2238,6 +2265,9 @@ void AArch64AsmPrinter::emitPtrauthSign(const MachineInstr *MI) {
   bool IsZeroDisc = DiscReg == AArch64::XZR;
   unsigned Opc = getPACOpcodeForKey(Key, IsZeroDisc);
 
+  if (emitDeactivationSymbolRelocation(MI->getDeactivationSymbol()))
----------------
fmayer wrote:

optional nit: for consistency, also do `if (!emitDeactivationSymbolRelocation(DS)) {` as above?

https://github.com/llvm/llvm-project/pull/133536


More information about the llvm-branch-commits mailing list