EH Performance

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Feb 25 16:01:00 GMT 2000


> On Linux, you could, but for namespace and linking issues, use the
> dladdr() function to find out which shared object an address is in.

That doesn't look like a very efficient approach, as it tries to
determine the closest symbol as well - with a linear search. If it
would offer to return only the dli_fname/dli_fbase part, that would be
good.

Martin



More information about the Gcc mailing list