[clang] [AArch64][FMV] Enable PAuth and BTI hardening of resolver functions (PR #141573)
Jon Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 4 14:51:18 PDT 2025
================
@@ -4652,6 +4659,7 @@ llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) {
"", Resolver, &getModule());
GIF->setName(ResolverName);
SetCommonAttributes(FD, GIF);
+ SetResolverAttrs(cast<llvm::Function>(Resolver));
----------------
jroelofs wrote:
`GlobalIFunc` instructions in the IR currently require that the resolver be a `Function` with a definition.
https://github.com/llvm/llvm-project/pull/141573
More information about the cfe-commits
mailing list