[PATCH] D44054: [DWARFv5] Emit file 0 to the line table.
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 16:28:30 PST 2018
probinson created this revision.
probinson added reviewers: dblaikie, aprantl.
probinson added a project: debug-info.
Herald added subscribers: JDevlieghere, hiraditya, kristof.beyls, eraman, arichardson, javed.absar, emaste.
DWARF v5 specifies that the root file (also given in the DW_AT_name attribute
of the compilation unit DIE) should be emitted explicitly to the line table's list of files.
This makes the line table more independent of the .debug_info section.
I am a bit nonplussed that more directory names are appearing in the .file directives now, which required more test changes than I expected, but I can't see that being harmful.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 31782 bytes
Desc: not available
More information about the llvm-commits