]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: decl, types: revise ctf_decl*, ctf_type_*name
authorNick Alcock <nick.alcock@oracle.com>
Fri, 25 Apr 2025 10:03:16 +0000 (11:03 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 25 Apr 2025 17:07:42 +0000 (18:07 +0100)
commit097ff012e482a6110f4e291fcb45b968ba6fcb92
tree55a4b3be66581e21dde12faf4127cd39802b980f
parent2c1a0a70d14a5e26acd9a3bafcd40845d1cabf4f
libctf: decl, types: revise ctf_decl*, ctf_type_*name

These all need fairly trivial revisions for prefix types.  While
we're at it, we can add explicit handling of nonrepresentable types,
returning CTF_K_UNKNOWN for such types rather than throwing an error,
so that type printing prints (nonrepresentable type) for such types
as it always intended to.
libctf/ctf-decl.c
libctf/ctf-types.c