search for: ifunc_nam

Displaying 1 result from an estimated 1 matches for "ifunc_nam".

Did you mean: ifunc_name
2020 Aug 10
3
resolve the name of an ifunc resolver function
Hi, I just spent 4 hours trying to find a way to get the name of the resolver function of a ifunc definition ... :-( and with all that time I didnt event get far: for (GlobalIFunc &IF : M.ifuncs()) { StringRef ifunc_name = IF.getName(); Constant *r = IF.getResolver(); But how do I get to the (Function*) or function name of the resolver from there? I tried everything with the Constant which seems to be a ConstantExpr type ... .... Example test program below: #include <stdio.h> int foo(void) __attribute_...