[PATCH] D15525: [GCC] Attribute ifunc support in llvm

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 06:39:27 PST 2015


On Fri, Dec 18, 2015 at 09:17:17AM +0000, Dmitry Polukhin via llvm-commits wrote:
> Just for the sake of completeness, there is a way to avoid IR extension
> - it is possible to emit global asm statement like 
>    `__asm__ (".type resolver_alias_name, @gnu_indirect_function")`
> and avoid IR extension but I didn't seriously consider this path.

Why not? Let me put it another way: what is the advantage of making the
intermediate layers aware of ifuncs? Can they provide better
optimisations? Can they diagnose any potential bugs?

Joerg


More information about the llvm-commits mailing list