[llvm-branch-commits] [llvm] [SystemZ] Emit external aliases required for indirect symbol handling support (PR #183442)

Kai Nacke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 26 07:29:25 PST 2026


================
@@ -134,6 +136,8 @@ void MCAsmInfoGOFF::printSwitchToSection(const MCSection &Section,
                 GOFF::ESD_EXE_Unspecified, Sec.EDAttributes.IsReadOnly, 0,
                 Sec.EDAttributes.FillByteValue, StringRef());
       Sec.Emitted = true;
+      if (Sec.hasExternalName())
+        OS << Sec.getName() << " ALIAS \"" << Sec.getExternalName() << "\"\n";
----------------
redstar wrote:

Same.

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


More information about the llvm-branch-commits mailing list