This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] -gused
- From: Richard Henderson <rth at redhat dot com>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Jun 2003 16:24:29 -0700
- Subject: Re: [PATCH] -gused
- References: <F43568DC-9C70-11D7-8696-000393A91CAA@apple.com>
On Wed, Jun 11, 2003 at 05:58:17PM -0700, Devang Patel wrote:
> 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.
We already have a -feliminate-unused-debug-types flag; I think
it would make sense to have -feliminate-unused-debug-symbols
as well, instead of -gused.
Surely this queueing could be done above the debug interface
level. That would make it apply equally to all debug formats.
I'd like to see gdb testresults from this option as well.
r~