================
@@ -447,6 +447,8 @@ llvm::Function
*CodeGenModule::CreateGlobalInitOrCleanUpFunction(
if (Linkage == llvm::GlobalVariable::InternalLinkage)
SetInternalFunctionAttributes(GlobalDecl(), Fn, FI);
+ else
+ getTargetCodeGenInfo().setTargetAttributes(nullptr, Fn, *this);
----------------
vhscampos wrote:
Done
https://github.com/llvm/llvm-project/pull/133716
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits