Hello, I am doing some inter-procedural analysis and suppose I have encountered the following function calls:
int a = foo(b, c); And I have accessed a tree representing foo as follows: tree func_decl = gimple_call_fndecl(stmt); // stmt is the function call statement where func_decl is "foo". However, can I proceed further to get the function* of "foo"? I checked relevant code samples (e.g., https://code.woboq.org/gcc/gcc/function.h.html#), but couldn't find a way of doing so. Any advice would be appreciated. Thank you. Best, Shuai