This is the mail archive of the gcc-patches@gcc.gnu.org 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: [PATCH] -gused


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


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