Making CFLAGS=-g1 bigger but more useful

Ian Lance Taylor iant@google.com
Sat Apr 25 19:04:00 GMT 2009


Andi Kleen <andi@firstfloor.org> writes:

>> It's not quite that, but the gold linker has a --strip-debug-non-line
>> option which discards all the debugging information except what is
>> needed to map addresses to lines.
>
> The reason I would like to have it is that generating so much data
> slows down gcc compilation a lot and there are cases where I don't
> need the full data. Striping it in the linker is a start, but
> doesn't address the size of the object files. So doing it in the compiler
> would be better.

Yes, I agree.

Ian



More information about the Systemtap mailing list