* Andrew Haley: > > Java implementations needs to solve pretty much the same problem. How > > is it done in GCJ? > > Every Java class has full reflection data for all of its methods. > Given the address of a method, therefore, it's a straightforward > reverse lookup to get the name.
It seems that it invokes addr2line to obtain line number information, though.