================ @@ -882,8 +882,11 @@ class AsmPrinter : public MachineFunctionPass { GCMetadataPrinter *getOrCreateGCPrinter(GCStrategy &S); void emitGlobalAlias(Module &M, const GlobalAlias &GA); - void emitGlobalIFunc(Module &M, const GlobalIFunc &GI); +protected: + virtual void emitGlobalIFunc(Module &M, const GlobalIFunc &GI); ---------------- ahmedbougacha wrote:
Probably deserves to be with `emitGlobalVariable` or "overridable hooks" above? (but maybe the hooks can be finer-grained, see later comment) https://github.com/llvm/llvm-project/pull/73686 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits