NAME currently exports line info in a custom TOML format. Given our goal of interoperability with other toolchains this is unfeasible (and in fact gives me an enormous amount of headache when working with GNU-produced ELF files.)
DWARF is the standard way of embedding debug info (including line numbers!!) into ELF files. DWARF is supported by the crate that name-as will use to generate ELF files and a crate exists to read them from name-emu.
We (or more likely, our successor team) should use this standardized format instead of our custom line number solution.
NAME currently exports line info in a custom TOML format. Given our goal of interoperability with other toolchains this is unfeasible (and in fact gives me an enormous amount of headache when working with GNU-produced ELF files.)
DWARF is the standard way of embedding debug info (including line numbers!!) into ELF files. DWARF is supported by the crate that name-as will use to generate ELF files and a crate exists to read them from name-emu.
We (or more likely, our successor team) should use this standardized format instead of our custom line number solution.