libctf, types: allow ctf_type_reference of dynamic slices
authorNick Alcock <nick.alcock@oracle.com>
Tue, 2 Jun 2020 19:25:02 +0000 (20:25 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 22 Jul 2020 16:57:24 +0000 (17:57 +0100)
commit437061996d8d25ba902903e15952cfc14257b839
treefb385ed0087bb5f53706387960c5ea828e23a826
parent9943fa3a7320158e209a0339a4022a8165e9d5a6
libctf, types: allow ctf_type_reference of dynamic slices

One spot was missed when we rejigged ctf_update into ctf_serialize and
allowed all operations on dynamic containers: ctf_type_reference of
slices.  A dynamic slice's vlen state is stored in the dtu_slice member,
so fetch it from there.

libctf/
* ctf-types.c (ctf_type_reference): Add support for dynamic slices.
libctf/ChangeLog
libctf/ctf-types.c