libabigail/tests
Dodji Seketeli 35162bd4e3 writer: Emit definitions of declarations when they are present
Libabigail goes a long way to resolve declaration-only classes
to their definitions when it's possible.

The ABIXML writer however sometimes forgets to emit the definition of
such declarations that have been "resolved".

Later, when the binary is compared to its own ABIXML representation,
the reporting engine thus reports that the definition is lost.

This patch fixes that.

	* src/abg-writer.cc (write_class_decl, write_union_decl): Get the
	definition of the declaration if it exists and emit that.
	* tests/data/test-read-dwarf/test13-pr18894.so.abi: Adjust.
	* tests/data/test-read-dwarf/test15-pr18892.so.abi: Likewise.
	* tests/data/test-read-dwarf/test21-pr19092.so.abi: Likewise.
	* tests/data/test-annotate/test13-pr18894.so.abi: Likewise.
	* tests/data/test-annotate/test15-pr18892.so.abi: Likewise.
	* tests/data/test-annotate/test21-pr19092.so.abi: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2020-11-27 13:53:15 +01:00
..
data writer: Emit definitions of declarations when they are present 2020-11-27 13:53:15 +01:00
lib
.gitignore
Makefile.am Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
mockfedabipkgdiff.in
print-diff-tree.cc
runtestcanonicalizetypes.sh.in
runtestdefaultsupprs.py.in
runtestdefaultsupprspy3.sh.in
runtestfedabipkgdiff.py.in
runtestfedabipkgdiffpy3.sh.in
runtestslowselfcompare.sh.in Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test-abicompat.cc
test-abidiff-exit.cc Make abidiff and abidw support several --headers-dir{1,2} options 2020-09-18 10:27:18 +02:00
test-abidiff.cc
test-alt-dwarf-file.cc
test-annotate.cc
test-core-diff.cc
test-cxx-compat.cc
test-diff2.cc
test-diff-dwarf-abixml.cc
test-diff-dwarf.cc
test-diff-filter.cc Bug PR26739 - Handle qualified typedef array types 2020-11-12 10:53:40 +01:00
test-diff-pkg.cc Bug 26780 - Fix array subrange bounds (de)serialization 2020-11-27 13:50:47 +01:00
test-diff-suppr.cc
test-dot.cc
test-elf-helpers.cc
test-ini.cc
test-ir-walker.cc
test-kmi-whitelist.cc
test-lookup-syms.cc
test-read-dwarf.cc dwarf-reader: Ignore zero length location expressions from DW_AT_location 2020-11-02 18:07:01 +01:00
test-read-write.cc
test-svg.cc
test-symtab.cc tests: Add kernel symtab test suite 2020-05-27 11:00:51 +02:00
test-tools-utils.cc Make decl_names_equal more accurate 2020-08-04 14:51:13 +02:00
test-types-stability.cc
test-utils.cc
test-utils.h
test-valgrind-suppressions.supp
test-write-read-archive.cc
update-test-output.py update-test-output.py: Update syntax 2020-11-01 14:30:00 +01:00