Reporting the type ID helps us determine when types used later on are
introduced.
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
exit(1);
}
+ dw_ctf_trace("New type ID: %p:%li\n", ctf, this_ctf_id);
return this_ctf_id;
}
* Anonymous structure or union with no members. Silently skip.
*/
if (dwarf_child(&type_die, &child_die) < 0)
- return parent_ctf_id;
+ return parent_ctf_id;
die_to_ctf(module_name, file_name, &child_die, parent_die, ctf,
parent_ctf_id, offset, 0, skip, &dummy, NULL);