[Dwarf-discuss] gfortran / gcc on Mac puts control characters in N_SO STABS

Jakub Jelinek jakub@redhat.com
Wed Mar 13 20:29:31 GMT 2024


On Wed, Mar 13, 2024 at 07:54:03PM +0000, John DelSignore via Dwarf-discuss wrote:
> Strictly speaking, this is not a DWARF question, but it relates to DWARF
> because on the Mac the Mach-O NLIST/STAB symbol table is used as an index
> into DWARF symbols table.  It's kind-of like Split-DWARF, but was invented
> long before Split-DWARF was added to DWARF 5.

Are you sure it is gfortran and not some other program that introduces this?
Do you see it in gfortran-mp-13 -gdwarf-4 -S output?
Or in the object file with -c?  Then it could be introduced by the
assembler.
Or it could be introduced by the linker or by other tools (dsymutil?).

If you think it is a gfortran bug, please file a bug about it in
https://gcc.gnu.org/bugzilla/ , I know next to nothing about Darwin and
would strongly prefer not to learn anything further about it.

	Jakub



More information about the Dwarf-discuss mailing list