This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: EH Performance


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]