libabigail/tests/data/test-annotate
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
..
libtest23.so.abi Make sure to canonicalize all types but decl-only classes 2020-11-16 09:16:09 +01:00
libtest24-drop-fns-2.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
libtest24-drop-fns.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test0.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test1.abi abg-writer.cc: Fix indentation of XML output 2020-07-28 17:07:03 +02:00
test2.so.abi Serialize canonical types to avoid testing if types have been emitted 2019-09-17 17:52:26 +02:00
test3.so.abi Bug 21627 - Libabigail doesn't consider translation unit compile dir 2017-07-04 16:35:35 +02:00
test4.so.abi Serialize canonical types to avoid testing if types have been emitted 2019-09-17 17:52:26 +02:00
test5.o.abi Bug 21627 - Libabigail doesn't consider translation unit compile dir 2017-07-04 16:35:35 +02:00
test6.so.abi Serialize canonical types to avoid testing if types have been emitted 2019-09-17 17:52:26 +02:00
test7.so.abi abg-writer.cc: Clean up new line emission. 2020-07-09 19:10:12 +02:00
test8-qualified-this-pointer.so.abi Serialize canonical types to avoid testing if types have been emitted 2019-09-17 17:52:26 +02:00
test13-pr18894.so.abi writer: Emit definitions of declarations when they are present 2020-11-27 13:53:15 +01:00
test14-pr18893.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test15-pr18892.so.abi writer: Emit definitions of declarations when they are present 2020-11-27 13:53:15 +01:00
test17-pr19027.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test18-pr19037-libvtkRenderingLIC-6.1.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test19-pr19023-libtcmalloc_and_profiler.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test20-pr19025-libvtkParallelCore-6.1.so.abi Bug 26769 - Fix missing types in abixml output 2020-11-23 13:02:34 +01:00
test21-pr19092.so.abi writer: Emit definitions of declarations when they are present 2020-11-27 13:53:15 +01:00
test-anonymous-members-0.cc Handle several member anonymous types of the same kind 2019-05-07 14:31:16 +02:00
test-anonymous-members-0.o Handle several member anonymous types of the same kind 2019-05-07 14:31:16 +02:00
test-anonymous-members-0.o.abi Improve enum synthetic type names 2020-11-02 17:37:42 +01:00