Hello,
On Wed, 8 Jun 2022, Carl Love via Gcc wrote:
> Is there dwarf information that gives the size of a variable?
Yes, it's in the type description. For array types the siblings of it
give the index types and ranges. If that range is
computed at runtime DWARF will (try to) express it as an
> Is there dwarf information that gives the size of a variable? I have a
> test case which when run on Intel gdb can print the size of an
> optimized out variable. However on PowerPC, gdb says the size
> information for the variable is optimized out. Is there some DWARF
> information that I can
GCC developers:
Is there dwarf information that gives the size of a variable? I have a
test case which when run on Intel gdb can print the size of an
optimized out variable. However on PowerPC, gdb says the size
information for the variable is optimized out. Is there some DWARF
information that