> On Mar 15, 2024, at 9:22 AM, John DelSignore via Dwarf-discuss > <dwarf-discuss@lists.dwarfstd.org> wrote: > > Thanks for looking at this. I sent a separate email with the object file > attached directly to you. >
From my quick investigation the problem seems to be that gfortran uses a DW_FORM_string for the compile unit's name (rather than a DW_FORM_strp) DW_AT_name [DW_FORM_string] ("/nfs/homes/jdelsign/hello.c") and ld might have an off-by-one error when decoding the FORM (that part is speculation on my end based on that dwarfdump can decode the string fine, but it could also be a bug in gfortran and dwarfdump skips the control character when printing). -- adrian
-- Dwarf-discuss mailing list Dwarf-discuss@lists.dwarfstd.org https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss