libabigail/tests/data/test-bidiff/test-struct1-report.txt
Dodji Seketeli 0112c5619a Don't compare non-virtual member functions in class comparison
* src/abg-comparison.cc
	(class_diff::ensure_lookup_tables_populated): Use the virtual
	member functions here, not the member functions in general.
	(compute_diff): Consider virtual member functions only, not
	non-virtual ones.
	* src/abg-ir.cc (class_decl::operator==): Do not compare
	non-virtual member functions.  Only compare virtual member
	functions.
	* tests/data/test-bidiff/test-struct1-report.txt: New test input.
	* tests/data/test-diff-dwarf/test0-report.txt: New test input.
	* tests/data/test-diff-filter/test0-report.txt: New test input.
	* tests/data/test-diff-filter/test01-report.txt: New test input.
	* tests/data/test-diff-filter/test10-report.txt: New test input.
	* tests/data/test-diff-filter/test11-report.txt: New test input.
	* tests/data/test-diff-filter/test2-report.txt: New test input.
	* tests/data/test-diff-filter/test9-report.txt: New test input.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-14 21:48:00 +02:00

33 lines
1.0 KiB
Plaintext

5 changed types:
'const s0' changed:
in unqualified underlying type 'class s0':
size changed from 192 to 256 bits
1 data member deletion:
'char s0::m1', at offset 96 (in bits)
2 data member changes:
'unsigned int s0::m2' offset changed from 128 to 192
type of 'int s0::m0' changed:
name changed from 'int' to 'char'
size changed from 32 to 8 bits
alignment changed from 32 to 8 bits
1 data member insertion:
'double s0::m01', at offset 128 (in bits)
1 member function insertion:
'method int s0::foo(int, char) const', virtual at voffset 2/2
's0*' changed:
pointed to type 'class s0' changed, as reported earlier
'class s0' changed:
details were reported earlier
's0&' changed:
referenced type 'class s0' changed, as reported earlier
'const s0*' changed:
in pointed to type 'const s0':
unqualified underlying type class s0 changed, as reported earlier
'function int bar(s0&)' was removed
'function int baz(s0&)' was added