This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reduce Dwarf Debug Size
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Lawrence Crowl" <crowl at google dot com>
- Cc: "Ian Lance Taylor" <iant at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 May 2007 16:56:25 -0700
- Subject: Re: Reduce Dwarf Debug Size
- References: <29bd08b70702271038id9865cfjd5528170d15d4282@mail.gmail.com> <orbqjax51e.fsf@free.oliva.athome.lsd.ic.unicamp.br> <41672AB9-6772-4E6D-A50D-55894BFB7FBA@apple.com> <29bd08b70703231304y7f1c5400n2df2e40c8d560ac@mail.gmail.com> <m3y7l6zsry.fsf@localhost.localdomain> <de8d50360705051855p39c5159axfe8c9cc6ba749c93@mail.gmail.com> <29bd08b70705081648n2f65b481k7a88d4e8eee58d8d@mail.gmail.com>
On 5/8/07, Lawrence Crowl <crowl@google.com> wrote:
On 5/5/07, Andrew Pinski <pinskia@gmail.com> wrote:
> On 05 Apr 2007 09:32:17 -0700, Ian Lance Taylor <iant@google.com> wrote:
>
> > > 2007-03-23 Lawrence Crowl <crowl@google.com>
> > >
> > > * g++.dg/other/fesd-any.C: Test -femit-struct-debug-detailed=any.
> > > * g++.dg/other/fesd-any.h: Test -femit-struct-debug-detailed=any.
> > > * g++.dg/other/fesd-baseonly.C: Test -femit-struct-debug-baseonly.
> > > * g++.dg/other/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
> > > * g++.dg/other/fesd-none.C: Test -femit-struct-debug-detailed=none.
> > > * g++.dg/other/fesd-none.h: Test -femit-struct-debug-detailed=none.
> > > * g++.dg/other/fesd-reduced.C: Test -femit-struct-debug-reduced.
> > > * g++.dg/other/fesd-reduced.h: Test -femit-struct-debug-reduced.
> > > * g++.dg/other/fesd-sys.C: Test -femit-struct-debug-detailed=sys.
> > > * g++.dg/other/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
> > > * g++.dg/other/fesd.h: Common to -femit-struct-debug-... tests.
> > >
> > > * gcc.dg/fesd-any.c: Test -femit-struct-debug-detailed=any.
> > > * gcc.dg/fesd-any.h: Test -femit-struct-debug-detailed=any.
> > > * gcc.dg/fesd-baseonly.c: Test -femit-struct-debug-baseonly.
> > > * gcc.dg/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
> > > * gcc.dg/fesd-none.c: Test -femit-struct-debug-detailed=none.
> > > * gcc.dg/fesd-none.h: Test -femit-struct-debug-detailed=none.
> > > * gcc.dg/fesd-reduced.c: Test -femit-struct-debug-reduced.
> > > * gcc.dg/fesd-reduced.h: Test -femit-struct-debug-reduced.
> > > * gcc.dg/fesd-sys.c: Test -femit-struct-debug-detailed=sys.
> > > * gcc.dg/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
> > > * gcc.dg/fesd.h: Common to -femit-struct-debug-... tests.
>
> Can the gcc.dg tests be at least moved to gcc.dg/debug/dwarf2
> directory so they don't produce false failings on targets which don't
> support dwarf2? The g++.dg tests should have been placed in
> g++.dg/debug too.
>
> Sorry for not noticing this sooner.
I didn't put the tests in the debug areas originally because their .exp
files do too much for my tests.
gcc.dg/debug/dwarf2 does not test too much, it only tests -gdwarf-2 (I
just checked dwarf2.exp).
Though g++.dg/debug tests the different debugging styles, you could
have added a g++.dg/debug /dwarf2 testsuite while adding the testcases
and copied what
gcc.dg/debug/dwarf2 does. It is not like you can't change the
structure of tests in general.
Thanks,
Andrew Pinski