This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix flag_eliminate_dwarf2_dups/flag_eliminate_unused_debug_types clash
On Tue, Mar 04, 2003 at 02:19:51AM -0500, Jason Merrill wrote:
> On Mon, 3 Mar 2003 23:13:58 -0500, Daniel Jacobowitz <drow at mvista dot com> wrote:
>
> > I'm told that with libdwarf, this is not particularly complicated to
> > implement.
>
> Perhaps it wouldn't be particularly complicated, but it would still be
> slow, and we really don't want to slow down the linker any further. The
> linkonce solution lets us discard large hunks without needing to parse
> them.
These are pretty small hunks actually. If I'm reading it right you're
going to end up with literally thousands of input sections, and I
_know_ that triggers linker performance problems.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer