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

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 25 22:18:52 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()))
----------------
pcc wrote:

I think the usual style is early return except in cases where that doesn't work (as above).

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


More information about the llvm-branch-commits mailing list