================
@@ -4652,6 +4659,7 @@ llvm::Constant 
*CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) {
                                   "", Resolver, &getModule());
     GIF->setName(ResolverName);
     SetCommonAttributes(FD, GIF);
+    SetResolverAttrs(cast<llvm::Function>(Resolver));
----------------
labrinea wrote:

@efriedma-quic, are you suggesting to remove the call to `SetCommonAttributes` 
just above? That would make the resolver non `dso_local`, which isn't desirable 
I think. There are tests in place that will start failing.

https://github.com/llvm/llvm-project/pull/141573
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to