https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105088
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > The reason for the duplication (DW_AT_comp_dir of CU vs. dir 0 > entry in .debug_line and DW_AT_name of CU vs. file 0 entry in .debug_line) > is so that .debug_info can be stripped and .debug_line* kept. You can still do that, i.e. .debug_line* contains the same information, it's just encoded differently and more compact.