[llvm-branch-commits] AArch64: Emit PAuth ifuncs into the same comdat as the containing global. (PR #170944)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 9 19:33:42 PST 2025


================
@@ -2484,9 +2484,14 @@ const MCExpr *AArch64AsmPrinter::emitPAuthRelocationAsIRelative(
   OutStreamer->emitLabel(Place);
   OutStreamer->pushSection();
 
+  const MCSymbolELF *Group =
+      static_cast<MCSectionELF *>(OutStreamer->getCurrentSectionOnly())
+          ->getGroup();
   OutStreamer->switchSection(OutStreamer->getContext().getELFSection(
----------------
pcc wrote:

Done

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


More information about the llvm-branch-commits mailing list