dwarves_fprintf: Honour conf.show_only_data_members for the vtable

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Zack Weinberg <zweinberg@mozilla.com>
This commit is contained in:
Zack Weinberg 2009-06-17 15:30:09 -03:00 committed by Arnaldo Carvalho de Melo
parent 063bad0a80
commit 1298ce789e
1 changed files with 3 additions and 1 deletions

View File

@ -1338,7 +1338,9 @@ size_t class__fprintf(struct class *self, const struct cu *cu,
&newline,
&last_cacheline,
cconf.indent, fp);
class__vtable_fprintf(self, cu, &cconf, fp);
if (!cconf.show_only_data_members)
class__vtable_fprintf(self, cu, &cconf, fp);
if (!cconf.emit_stats)
goto out;