RFC: PATCH: Avoid reading debug symbols
H.J. Lu
hjl.tools@gmail.com
Wed Mar 19 13:21:00 GMT 2008
On Wed, Mar 19, 2008 at 09:00:22PM +1030, Alan Modra wrote:
> On Tue, Mar 18, 2008 at 12:36:41PM -0700, H.J. Lu wrote:
> > Does this patch make senses?
>
> Why don't you tell us? Presumably the benefit is reduced memory usage
> and/or faster symbol processing. Show the numbers..
>
I have an executable with 45 million debug symbols. The current
strip runs out of memory on a machine with 4GB RAM and 2GB swap
while reading in the whole symbol table. The new strip only
takes less than 900MB memory.
H.J.
More information about the Binutils
mailing list