I don’t know much about RTTI, but I believe that thanks to that you can retrieve the name of variables at run-time. Is it possible to retrieve the name of the function the
If you're doing GNU compatible stuffs, you may want to try backtrace.