FWIW, when TotalView reads the DWARF, there are no control characters in the strings.
Cheers, John D. On 3/15/24 13:12, Adrian Prantl wrote: On Mar 15, 2024, at 9:22 AM, John DelSignore via Dwarf-discuss <dwarf-discuss@lists.dwarfstd.org><mailto: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 CAUTION: This email originated from outside of the organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe. This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.
-- Dwarf-discuss mailing list Dwarf-discuss@lists.dwarfstd.org https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss