This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Speedup dwfl_module_addrsym
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 31 Oct 2011 11:03:42 -0700
- Subject: Re: Speedup dwfl_module_addrsym
I'm not entirely sure about having this as a new public interface. It
might make more sense to return the Elf_Scn of the symtab or something like
that. My inclination is to start out by only using the information
internally, and think about a public interface for it later when there is
actual demand for that.
I think "symglobals" is an unnatural name for fields and variables for
this. It looks like a count, and what it's the count of is the locals.
So something like "nlocals" or "first_global" makes more sense to me.
Thanks,
Roland