[llvm] [SystemZ][z/OS] Implement executePostLayoutBinding for GOFFObjectWriter (PR #67868)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 6 11:14:47 PDT 2023
================
@@ -1296,6 +1298,41 @@ void SystemZAsmPrinter::emitPPA1(MCSymbol *FnEndSym) {
4);
}
+void SystemZAsmPrinter::emitGlobalVariable(const GlobalVariable *GV) {
+ if (TM.getTargetTriple().isOSzOS()) {
----------------
diggerlin wrote:
if the class SystemZAsmPrinter is for ZOS only ? if it is, do we need
`if (TargetTriple.isOSzOS())` ? , please change to `assert(TargetTriple.isOSzOS() &&...) `
https://github.com/llvm/llvm-project/pull/67868
More information about the llvm-commits
mailing list