pdwtags: Find holes in structs
The pdwtags prints all tags, so call class__find_holes() for structs so that we don't print BFAs. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
ce6f393bc9
commit
89ce57a02e
|
@ -20,6 +20,9 @@ static void emit_tag(struct tag *tag, uint32_t tag_id, struct cu *cu)
|
|||
{
|
||||
printf("/* %d */\n", tag_id);
|
||||
|
||||
if (tag__is_struct(tag))
|
||||
class__find_holes(tag__class(tag));
|
||||
|
||||
if (tag->tag == DW_TAG_base_type) {
|
||||
char bf[64];
|
||||
const char *name = base_type__name(tag__base_type(tag), cu,
|
||||
|
|
Loading…
Reference in New Issue