David> I had a go at adding a "fullname" attribute to the function decl
based
David> on what I found. It works for my test case, but unfortunately it breaks
David> the plugin for anything other than C++ code due to linker problems.
David> See:
David>
http://gcc.gnu.org/ml/gcc/2011-11/msg00504.html
If you could access DECL_ASSEMBLER_NAME (I filed a bug about this...)
then you could demangle that and see the name, without resorting to
calling cc1plus-specific functions. Well, I think so anyway, there may
be wrinkles.
Tom