================
@@ -124,6 +124,8 @@ void MCAsmInfoGOFF::printSwitchToSection(const MCSection
&Section,
case GOFF::ESD_ST_SectionDefinition: {
OS << Sec.getName() << " CSECT\n";
Sec.Emitted = true;
+ if (Sec.hasExternalName())
+ OS << Sec.getName() << " ALIAS \"" << Sec.getExternalName() << "\"\n";
----------------
redstar wrote:
The syntax of ALIAS is slightly different, see
https://www.ibm.com/docs/en/hla-and-tf/1.6.0?topic=statements-alias-instruction:
```suggestion
OS << Sec.getName() << " ALIAS "C'" << Sec.getExternalName() << "'\n";
```
https://github.com/llvm/llvm-project/pull/183442
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits