[Bug libdw/30967] Discriminator in Dwarf_Line_s may exceed 24 bits

fche at redhat dot com sourceware-bugzilla@sourceware.org
Thu Oct 26 15:47:43 GMT 2023


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

--- Comment #11 from Frank Ch. Eigler <fche at redhat dot com> ---
> I'm more interested in this: what is worst that can happen on discriminator
> collision? We are not using discriminator at all in ABI monitoring, so I'm
> not familiar with its use cases.

That's a good point.  There is an api call dwarf_linediscriminator() to fetch
it for a client.  In a bit of searching here and there (github etc.), I have
not found any user so far, other than readelf itself to print.

In gnu binutils, the field is "unsigned int" wide, and is used in bfd & gdb.

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


More information about the Elfutils-devel mailing list