[LIB]: Honor conf.suppress_comments in one more case
class__fprintf_cacheline_boundary should only be called if conf_suppress_comments is not set. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
parent
ef3d5d4ab5
commit
84fac64313
10
dwarves.c
10
dwarves.c
|
@ -2417,10 +2417,12 @@ size_t class__fprintf(struct class *self, const struct cu *cu,
|
|||
last_bit_size = pos->bit_size;
|
||||
}
|
||||
|
||||
printed += class__fprintf_cacheline_boundary(last_cacheline, sum,
|
||||
sum_holes, &newline,
|
||||
&last_cacheline,
|
||||
cconf.indent, fp);
|
||||
if (!cconf.suppress_comments)
|
||||
printed += class__fprintf_cacheline_boundary(last_cacheline,
|
||||
sum, sum_holes,
|
||||
&newline,
|
||||
&last_cacheline,
|
||||
cconf.indent, fp);
|
||||
if (!cconf.emit_stats)
|
||||
goto out;
|
||||
|
||||
|
|
Loading…
Reference in New Issue