libctf: dump: do not stop dumping types on error
authorNick Alcock <nick.alcock@oracle.com>
Mon, 25 Oct 2021 10:17:02 +0000 (11:17 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 25 Oct 2021 10:17:04 +0000 (11:17 +0100)
commita0cc569d599f92c3a9168fcd23a0b18f7ff42f1d
treecc5607eb8257ee863fb87845c4286027f420e98b
parent10909ea819417549886daf2fea983cc42cd6c734
libctf: dump: do not stop dumping types on error

If dumping of a single type fails, we obviously can't dump it; but just
as obviously this doesn't make the other types in the types section
invalid or undumpable.  So we should not propagate errors seen when
type-dumping, but rather ignore them and carry on, so we dump as many
types as we can (leaving out the ones we can't grok).

libctf/ChangeLog
2021-10-25  Nick Alcock  <nick.alcock@oracle.com>

* ctf-dump.c (ctf_dump_type): Do not abort on error.
libctf/ChangeLog
libctf/ctf-dump.c