On 1/13/25 07:17, John DelSignore via Dwarf-discuss wrote:
Hi,
Section 6.2 (Line Number Information) of the DWARF 5 spec does not seem to
constrain which DW_LNCT content types are valid for directory entries, or at
least I couldn't find where it does.
Are DW_LNCT_directory_index, DW_LNCT_timestamp, DW_LNCT_size, and/or
DW_LNCT_MD5 content types valid for directory entries? If so, what do they
mean? If not, perhaps each of the DW_LNCT content types should explicitly state
where it's valid.
Cheers, John D.
Version 5 page 157 Sec 6.2.4
"20.file_names (sequence of file name entries)
A sequence of file names and optional related information. Each entry is
encoded as described by the file_name_entry_format field.
Entries in this sequence describe source files that
contribute to the line
number information for this compilation or
is used in other contexts, such as
in a declaration coordinate or a macro file inclusion."
I think this means that file names are file names, not
directory names. Even if a directory contains only
one file, there is no hint of implied search of a directory
in the file_names list.
Regards,
David A.
--
Nevertheless, governments repeatedly fantasize that
there can be bypasses [computer back doors] that would
be securely accessible only to "authorized" entities.
-- Peter G. Neumann, Comm. of the ACM. October 2019,
Inside Risks column.
--
Dwarf-discuss mailing list
Dwarf-discuss@lists.dwarfstd.org
https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss