This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 code bloat from debug info
On Saturday 29 November 2003 05:39 pm, Jim Wilson wrote:
> Glenn Burkhardt wrote:
> > 2.96 2.98 3.3.2 3.3.2
> > dwarf-2 stabs+ dwarf-2 stabs+
> > dclock.o 121684 131812 252108 278964
> > main.o 133392 143388 263548 294596
> > moc_dclock.o 158896 170160 293108 330356
>
> Looking at .o files is misleading. For stabs, we have link time
> optimizations to eliminate duplicate debug info. We do not yet have
> this for dwarf2. The result is that after linking the stabs debug info
> is likely to be significantly smaller than the dwarf2 debug info.
I have the total executable sizes as well:
2.96 2.98 3.3.2 3.3.2
dwarf-2 stabs+ dwarf-2 stabs+
dclock 425707 210135 465494 374558
This was a link against the Qt 3.1.1 dynamic libraries. I still have to
figure out why my other application, which is a considerably larger program,
had a 6x increase in size.