]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: types: ctf_type_resolve_nonrepresentable
authorNick Alcock <nick.alcock@oracle.com>
Thu, 24 Apr 2025 15:55:20 +0000 (16:55 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 25 Apr 2025 17:07:42 +0000 (18:07 +0100)
commit4a4312b684ad779c5c14e0838adc868cc6b14847
treed8f798d33f5ffe1a3673cc0aeca5357d37c6fed9
parent20e6f72dc7a799b39f259a5138e307937969099b
libctf: types: ctf_type_resolve_nonrepresentable

This new internal function allows us to say "resolve a type to its base
type, but treat type 0 like BTF, returning 0 if it is found rather than
erroring with ECTF_NONREPRESENTABLE".  Used in the next commit.
libctf/ctf-impl.h
libctf/ctf-types.c