If I'm following correctly, Alexandre - you're suggesting a situation where
an instance of a type, when it appears within a packed struct, may become
smaller than it would otherwise be? (usually in C that's not the case -
packing only changes the alignment of instances of the type - which may
chang
On Jun 15, 2024, Ron Brender wrote:
>> Because of the different sizes, this requires two distinct types to be
>> defined in debug info.
> There is no basis for this claim AFAIK.
DW_TAG_subrange_type may have a DW_AT_(byte|bit)_size attribute "if the
amount of storage allocated to hold each elem
It’s not written down anywhere (probably should be) but in order to assign a
new language code, we need some additional information. Specifically, we need a
default lower bound for arrays (as seen at https://dwarfstd.org/languages.html
) and for the upcoming DWARF v6, a versioning scheme (as see