This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reduce Dwarf Debug Size
Mike Stump <mrs@apple.com> writes:
> On Feb 27, 2007, at 10:38 AM, Lawrence Crowl wrote:
> > The basic idea is to not emit struct debugging information in the
> > current compilation unit when that information will be generated
> > by another compilation unit. The primary criteria is whether the
> > base name of the file containing the struct definition matches the
> > base name of the main file being compiled.
>
> I don't think this is probably the right direction to venture out in...
>
> I have a counter proposal, instead, use -frepo to select where you
> want to lay down the debug information.
-frepo is fragile for large projects, and it affects much more than
debug information. I don't think it is a real alternative. It may
well work for some people. But I don't think the existence of -frepo
is in itself a reason to not apply Lawrence's patch.
Ian