This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Shrink .debug_loc section by ~ 9%
- From: Christopher Faylor <cgf-use-the-mailinglist-please at gnu dot org>
- To: Jason Merrill <jason at redhat dot com>, Jan Kratochvil <jkratoch at redhat dot com>, Roland McGrath <roland at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, Tom Tromey <tromey at redhat dot com>, binutils at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 8 Oct 2010 20:11:30 -0400
- Subject: Re: [PATCH] Shrink .debug_loc section by ~ 9%
- References: <20101008192802.GO4127@tyan-ft48-01.lab.bos.redhat.com>
On Fri, Oct 08, 2010 at 09:28:02PM +0200, Jakub Jelinek wrote:
>This patch shrinks cc1plus (both i686-linux and x86_64) .debug_loc
>section by roughly 9%, by sharing identical lists (if two or more DIEs
>have the same .debug_loc list, they can just use the same one instead
>of outputting the exact same bits twice.
Have you done any timing tests on this? I'm curious whether this has any
noticeable effect on link times.
cgf