This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reduce Dwarf Debug Size

Mike Stump <> writes:

> On Feb 28, 2007, at 3:30 PM, Ian Lance Taylor wrote:
> > We should evaluate Lawrence's patch on its own merits: is it
> > useful, does it work, is it well-written.
> I'm game for this.  I just worry that it works fine for all sample
> programs 500 lines or less and on nothing larger.  I'd rather have a
> real user evaluate it in the context of a use pattern and tell us now
> it performs for them.

Lawrence has already evaluated it on Google's internal codebase, which
is more than 500 lines.  Lawrence, could you send out the various
tables showing the percentage reductions for the various options?

> In the various scheme we've done, and we've done a few, leaving the
> debugging information in the .o files and having a utility to boost
> them out and save them, if you need to do that, is the current winner.

That approach doesn't work well for us because it requires you to keep
the .o files around if you want to do any debugging.  And it requires
a reliable mapping from an executable back to the .o files used to
generate it.  There are certainly scenarios where that can work.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]