Function Name from CALL_INSN RTX

Ian Lance Taylor
Tue Oct 18 08:23:00 GMT 2011

"Iyer, Balaji V" <> writes:

>        Is it possible to extract the function name (as a tree or char *)  from a CALL_INSN RTX? Is there a #define or a series of #defines that can accomplish this? 

Not always, of course.  A call through a function pointer has no name.

The function get_callee_fndecl will do its best to get the function decl
from a CALL_EXPR.


More information about the Gcc mailing list