libabigail/tests/data
Dodji Seketeli c00add2a21 Bug 27086 - Consider all C++ virtual destructors when there are many
The complete and deleting C++ destructors have the same signature.
Because the dwarf-reader re-uses the IR of functions that have the
same signature, it can happen that one of the two destructors of a
class is missed and thus not represented in the IR.  When these
destructors are virtual, that can have an impact on class comparison,
because virtual member functions are take part in class comparison,
just like data member and unlike non-virtual member functions.

This patch fixes the build_or_get_fn_decl_if_not_suppressed to avoid
"reusing" virtual destructors, based on their signature when several
are present.  Instead an IR is built for all virtual destructors that
are seen.

	* src/abg-dwarf-reader.c (build_or_get_fn_decl_if_not_suppressed):
	Do not try to re-use a virtual destructor of a class, based on its
	signature.  Several different of these can have the same
	signature, inside a given class.
	* tests/data/test-types-stability/PR27086-libstdc++.so.6.0.26:
	Add new binary test input.
	* tests/data/Makefile.am: Add the new test input to source
	distribution.
	* tests/test-types-stability.cc (elf_paths): Add the test input
	above to this harness.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2021-09-23 17:28:26 +02:00
..
test-abicompat symtab/dwarf-reader: allow hinting of main symbols for aliases 2021-04-02 15:54:23 +02:00
test-abidiff Bug 27985 - abidiff: bad array types in report 2021-09-03 11:08:01 +02:00
test-abidiff-exit Bug 28316 - Failure to represent typedef named anonymous enums 2021-09-21 16:37:44 +02:00
test-alt-dwarf-file rhbz1951526 - SELF CHECK FAILED for 'gimp-2.10' 2021-06-09 18:43:02 +02:00
test-annotate Bug 27970 - Duplicated member functions cause spurious self comparison changes 2021-09-22 17:19:10 +02:00
test-core-diff
test-default-supprs
test-diff-dwarf Bug 28316 - Failure to represent typedef named anonymous enums 2021-09-21 16:37:44 +02:00
test-diff-dwarf-abixml PR28060 - Invalid offset for bitfields 2021-07-19 13:17:29 +02:00
test-diff-filter Bug 27970 - Duplicated member functions cause spurious self comparison changes 2021-09-22 17:19:10 +02:00
test-diff-pkg Bug 27970 - Duplicated member functions cause spurious self comparison changes 2021-09-22 17:19:10 +02:00
test-diff-suppr Bug 27995 - Self comparison error from abixml file 2021-08-11 17:38:14 +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
test-lookup-syms
test-read-dwarf Bug 27970 - Duplicated member functions cause spurious self comparison changes 2021-09-22 17:19:10 +02:00
test-read-write rhbz1951526 - SELF CHECK FAILED for 'gimp-2.10' 2021-06-09 18:43:02 +02:00
test-symtab symtab: Add support for MODVERSIONS (CRC checksums) 2021-04-02 16:13:13 +02:00
test-types-stability Bug 27086 - Consider all C++ virtual destructors when there are many 2021-09-23 17:28:26 +02:00
test-write-read-archive
Makefile.am Bug 27086 - Consider all C++ virtual destructors when there are many 2021-09-23 17:28:26 +02:00