================ @@ -715,8 +715,16 @@ MCSymbol *AsmPrinter::getSymbolPreferLocal(const GlobalValue &GV) const { return TM.getSymbol(&GV); } -/// EmitGlobalVariable - Emit the specified global variable to the .s file. void AsmPrinter::emitGlobalVariable(const GlobalVariable *GV) { + MaybeAlign RequiredAlignment = getRequiredGlobalAlignment(*GV); ---------------- fmayer wrote:
For MTE, we don't really need this. We can add this in a followup if that's required by CHERI. https://github.com/llvm/llvm-project/pull/121957 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits