"This margin is too narrow to contain..." ;) I'd like to see the doc - it's easy to believe we've gotten something wrong here.. Might be good to fix this as textual edits rather than waiting on a full dwarf standard release because we're going to run into this a lot if we can't get it sorted quickly as multiple producers all produce something slightly different and incompatible.
Thoughts? -eric On Thu, Oct 15, 2020 at 11:38 AM David Anderson via Dwarf-Discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > I think the following (while not news) needs to be said > simply and directly. > > It is impossible to obey all the DWARF5 rules > on file numbering in the line table > at the same time. They contradict each other, > taking the standard as a whole. > [this consistency issue is solely DWARF5]. > > A simple solution is to say that > the file number value 0 meaning of 'no file' > is eliminated so that part > of Section 2.14 page 50 is invalidated. > So then we have a zero-based file array > along with all references to it. > And declare that the 'file' line table > register defaults to zero (DWARF5 Table 6.4 Page > 153). Then the standard is self-consistent. > (Clang has been using this approach for some time now). > > I created a document documenting all the places > in the standard involving line table file numbering > but this emaill is already long enough. > > David Anderson > > -- > Of course power tools and alcohol don't mix. > Everyone knows power tools aren't soluble in alcohol. > -- Crazy Nigel > > _______________________________________________ > Dwarf-Discuss mailing list > Dwarf-Discuss@lists.dwarfstd.org > http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org >
_______________________________________________ Dwarf-Discuss mailing list Dwarf-Discuss@lists.dwarfstd.org http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org