[Bug libdw/30967] Discriminator in Dwarf_Line_s may exceed 24 bits
vvvvvv at google dot com
sourceware-bugzilla@sourceware.org
Thu Oct 26 11:19:54 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30967
--- Comment #4 from Aleksei Vetrov <vvvvvv at google dot com> ---
(In reply to Frank Ch. Eigler from comment #3)
> Is there some reason not to just bump up that bitfield width from :24 to :32
> or more for now, until a deeper analysis of llvm informs us as to how wide
> these discriminator codes can really be?
For me it is ok to bump that bitfield, but there is a warning in the code:
> All the flags and other bit fields should add up to 48 bits
> to give the whole struct a nice round size.
So this question should be directed to the author of this code: Roland McGrath
<roland@redhat.com>. I think there may be slight performance/memory issues, but
as a temporary solution it looks good.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list