https://sourceware.org/bugzilla/show_bug.cgi?id=34666

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Frank Ch. Eigler from comment #4)
> Suspect the issue is more that under dwarf<5, entry-0 is a directory name
> not a CU name.

There are two lists, the directory list and the file list. For the directory
list entry zero prior to DWARF5 was implicitly the same as DW_AT_comp_dir of
the CU DIE, but the index started at 1. Since DWARF5 the index starts at zero
and the zero entry is the same as the DW_AT_comp_dir of the CU DIE. Similar for
the file list. Prior to DWARF5 it was implicitly the same as the DW_AT_name of
the CU DIE, since DWARF5 there is an actual zero entry, explicitly the same as
the CU name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to