This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] -gused
- From: Andi Kleen <ak at suse dot de>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 12 Jun 2003 15:09:46 +0200
- Subject: Re: [PATCH] -gused
- References: <F43568DC-9C70-11D7-8696-000393A91CAA@apple.com.suse.lists.egcs-patches>
Devang Patel <dpatel@apple.com> writes:
> This patch introduces different way of emitting debugging info stabs.
> It emits stabs for only symbols which are actually used. Symbols are
> collected in a queue and at the right time queue is flushed. It is
> enabled
> by -gused command line option. This is default debugging option
> in Darwin GCC for some time. This approach helps to reduce size of
> object files. This approach is more useful with PCH.
That's quite nice. Anything that can get the size of debugging information
down is a great thing. In fact I think it was recently made the default
for dwarf2. So how about making it the default for stabs too
and offer an -gno-used or something to turn it off?
-Andi