libabigail/tests/data
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
..
test-abicompat Consider the implicit 'this' parameter when comparing methods 2020-10-09 11:05:23 +02:00
test-abidiff Consider the implicit 'this' parameter when comparing methods 2020-10-09 11:05:23 +02:00
test-abidiff-exit Improve enum synthetic type names 2020-11-02 17:37:42 +01:00
test-alt-dwarf-file Plug leak of debug info handles 2016-05-22 23:20:13 +02:00
test-annotate writer: Emit definitions of declarations when they are present 2020-11-27 13:53:15 +01:00
test-core-diff
test-default-supprs Bug 20180 - Support system-wide suppression specifications 2016-05-30 18:39:49 +02:00
test-diff-dwarf Consider the implicit 'this' parameter when comparing methods 2020-10-09 11:05:23 +02:00
test-diff-dwarf-abixml Improve enum synthetic type names 2020-11-02 17:37:42 +01:00
test-diff-filter Make sure to canonicalize all types but decl-only classes 2020-11-16 09:16:09 +01:00
test-diff-pkg Bug 26780 - Fix array subrange bounds (de)serialization 2020-11-27 13:50:47 +01:00
test-diff-suppr Consider the implicit 'this' parameter when comparing methods 2020-10-09 11:05:23 +02:00
test-fedabipkgdiff tests/data/test-fedabipkgdiff: Update reference output 2020-11-25 13:15:18 +01:00
test-ini Add missing newlines to end of test files. 2020-10-01 16:11:29 +02:00
test-kmi-whitelist KMI Whitelists: Add functionality to make whitelists additive 2020-01-21 18:37:43 +00:00
test-lookup-syms dwarf-reader: Fix bloom filter access in GNU_HASH section 2020-03-20 13:35:00 +01:00
test-read-dwarf writer: Emit definitions of declarations when they are present 2020-11-27 13:53:15 +01:00
test-read-write Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test-symtab tests: Add kernel symtab test suite 2020-05-27 11:00:51 +02:00
test-types-stability Bug 19204 - libabigail aborts on DWARF referencing non-existing DIE 2016-01-21 10:48:32 +01:00
test-write-read-archive
Makefile.am Bug 26780 - Fix array subrange bounds (de)serialization 2020-11-27 13:50:47 +01:00