================
@@ -4652,6 +4659,7 @@ llvm::Constant
*CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) {
"", Resolver, &getModule());
GIF->setName(ResolverName);
SetCommonAttributes(FD, GIF);
+ SetResolverAttrs(cast<llvm::Function>(Resolver));
----------------
efriedma-quic wrote:
The part I'm concerned about is that `ftc.resolver` in your testcase is missing
attributes: it's not dso_local, it doesn't get marked "hidden" if you pass
-fvisibility=hidden, etc.
https://github.com/llvm/llvm-project/pull/141573
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits