This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Making CFLAGS=-g1 bigger but more useful
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