Get a pointer to the current function in C (gcc)?
问题 is there a magic variable in gcc holding a pointer to the current function ? I would like to have a kind of table containing for each function pointer a set of information. I know there's a __func__ variable containing the name of the current function as a string but not as a function pointer. This is not to call the function then but just to be used as an index. EDIT Basically what i would like to do is being able to run nested functions just before the execution of the current function (and