[clang] [compiler-rt] [llvm] [AIX] Implement the ifunc attribute. (PR #153049)

Sean Fertile via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 07:35:41 PDT 2025


================
@@ -2865,8 +2880,10 @@ void PPCAIXAsmPrinter::emitFunctionDescriptor() {
       static_cast<MCSymbolXCOFF *>(CurrentFnDescSym)->getRepresentedCsect());
 
   // Emit aliasing label for function descriptor csect.
-  for (const GlobalAlias *Alias : GOAliasMap[&MF->getFunction()])
-    OutStreamer->emitLabel(getSymbol(Alias));
+  if (MF) // TODO MF is unset when processing an ifunc, handle it better than
----------------
mandlebug wrote:

I don't think you need any better way to handle it, just update the comment to drop the TODO part.

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


More information about the llvm-commits mailing list