[llvm] [GOFF] Emit symbols for functions. (PR #144437)

Kai Nacke via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 28 12:48:44 PST 2025


================
@@ -1112,6 +1113,23 @@ void SystemZAsmPrinter::emitEndOfAsmFile(Module &M) {
   if (TT.isOSzOS()) {
     emitADASection();
     emitIDRLSection(M);
+    // Emit EXTRN declarations.
+    OutStreamer->pushSection();
+    for (auto &GO : M.global_objects()) {
----------------
redstar wrote:

I moved the loop into the AsmPrinter. Unfortunately, there are a couple of loops in the function but none which I could extend.

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


More information about the llvm-commits mailing list