[llvm] [z/OS][GOFF] Implement support for writing ESD + TXT records by the GOFFObjectWriter (PR #85851)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 06:51:33 PDT 2024


================
@@ -1014,6 +1016,8 @@ void SystemZAsmPrinter::emitADASection() {
                                 MCSymbolRefExpr::create(Sym, OutContext),
                                 OutContext),
           PointerSize);
+      Sym->setExecutable(GOFF::ESD_EXE_CODE);
----------------
uweigand wrote:

See comment above about setExecutable ... it would be preferable if we didn't have to do that all over the place, but could rely on common code setting the symbol types.

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


More information about the llvm-commits mailing list