libabigail/tests/data/test-abicompat/test0-fn-changed-report-0.txt
Giuliano Procida a5a67c2ffd abidiff: Clean up new lines between sections.
Some blank lines were unintentionally removed with a recent patch. The
new line to remove should have been the one after all changed
functions not the one after each one. Changed functions (and
variables) tend to be reported as paragraphs, rather than single
lines, so the extra spacing is useful.

This patch removes the blank line emitted after all changed
functions, variables and unreachable types, and adds back the
missing blank lines between changed functions.

	* src/abg-default-reporter.cc (report): In the corpus_diff
	override, add back the extra blank line per changed function
	but remove the extra one after all changed changed functions
	and variables; comment these.
	* src/abg-leaf-reporter.cc (report): In the corpus_diff
	override, add back the extra blank line per changed function
	but remove the extra one after all changed changed functions
	and variables; comment these.
	* src/abg-reporter-priv.cc
	(maybe_report_unreachable_type_changes): Remove extra blank
	line emitted after all unreachable type changes; comment
	this.
	* tests/data/test*report*.txt: Remove/add blank lines.

Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
2020-03-30 16:26:31 +02:00

22 lines
1023 B
Plaintext

ELF file 'test0-fn-changed-app' might not be ABI compatible with 'libtest0-fn-changed-libapp-v1.so' due to differences with 'libtest0-fn-changed-libapp-v0.so' below:
Functions changes summary: 0 Removed, 2 Changed (4 filtered out), 0 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
2 functions with some indirect sub-type change:
[C] 'function libapp::S0* libapp::create_s0()' has some indirect sub-type changes:
return type changed:
in pointed to type 'struct libapp::S0':
type size changed from 32 to 64 (in bits)
1 data member insertion:
'char libapp::S0::m1', at offset 32 (in bits)
[C] 'function libapp::S1* libapp::create_s1()' has some indirect sub-type changes:
return type changed:
in pointed to type 'struct libapp::S1':
type size changed from 32 to 96 (in bits)
2 data member insertions:
'char libapp::S1::m1', at offset 32 (in bits)
'unsigned int libapp::S1::m2', at offset 64 (in bits)