aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-lookup/unnamed-field-info.c
AgeCommit message (Collapse)AuthorFilesLines
2024-06-12PR 31882 libctf: test suite incorrect format specifiersA. Wilcox1-1/+1
2023-03-24libctf: get the offsets of fields of unnamed structs/unions rightNick Alcock1-0/+79
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.