Andi Kleen <a...@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