https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105877

--- Comment #2 from hubicka at kam dot mff.cuni.cz ---
> "strip -g" removed .gnu.debuglto_.debug_info sections. Should LTO remove the
> references of stripped debug info?  Or should "strip -g" keep LTO debug info?

I suppose we should try to immitate what happens without -flto, so
probably check for the presence of debuglto sections and avoid producing
debug info when they have been stripped?
I am not sure how hard would be to implement this especially in
situations where part of object files were stripped and others not?

Reply via email to