binutils-gdb/libctf/testsuite/libctf-lookup
Nick Alcock bddd62e188 libctf: get the offsets of fields of unnamed structs/unions right
We were failing to add the offsets of the containing struct/union
in this case, leading to all offsets being relative to the unnamed
struct/union itself.

libctf/
	PR libctf/30264
	* ctf-types.c (ctf_member_info): Add the offset of the unnamed
	member of the current struct as necessary.
	* testsuite/libctf-lookup/unnamed-field-info*: New test.
2023-03-24 14:11:18 +00:00
..
ambiguous-struct-A.c
ambiguous-struct-B.c
ambiguous-struct.c
ambiguous-struct.lk
conflicting-type-syms-a.c
conflicting-type-syms-b.c
conflicting-type-syms.c
conflicting-type-syms.lk
enum-ctf.c
enum-many-ctf.c
enum-many.lk
enum-symbol-ctf.c
enum-symbol-obj.lk
enum-symbol.c
enum-symbol.lk
enum.c
enum.lk
lookup.exp
struct-iteration-ctf.c
struct-iteration.c
struct-iteration.lk
struct-lookup.c
struct-lookup.lk
unnamed-field-info-ctf.c
unnamed-field-info.c
unnamed-field-info.lk