[clang] [clang] inherit GD to let the codegen add kcfi type for ifunc (PR #96400)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 5 12:21:06 PDT 2024


efriedma-quic wrote:

Oh, hmm, I see.

Maybe the right strategy here is to delay attaching the resolver to the ifunc until the end of the translation unit, when we know the definition is already emitted.  That way, it should already have the right attributes.  (We already do some delayed checking on aliases/ifuncs anyway, in checkAliasedGlobal().)

https://github.com/llvm/llvm-project/pull/96400


More information about the cfe-commits mailing list