libabigail/tests
Matthias Maennich 16e3d3a6f3 XML writer: map type ids by bare pointer
This is a performance and safety improvement made possible by previous
changes which ensure that the same pointers are used for insertion and
look-up.

This change affects two test cases. In more detail:

The test case test-read-dwarf/PR22122-libftdc.so.abi has many
duplicate type-id-60 which appear to all be types defined with a DWARF
DW_AT_signature attribute. These are made into separate types by this
change, but remain incomplete.

The test case test-read-dwarf/PR25007-sdhci.ko.abi has duplicate
declarations and these get split into duplicate declarations with new
type ids following this change. The test suite runs with an implicit
--no-linux-kernel-mode so the duplicates are treated separately. They
presumably had the same type ids before this change due to deep
equality considering them equal.

	* src/abg-writer.cc (type_ptr_map): use default equality on
	type_base pointer.
	* tests/data/test-read-dwarf/PR22122-libftdc.so.abi: Refresh
	test case, as described above.
	* tests/data/test-read-dwarf/PR25007-sdhci.ko.abi: Likewise.

Reviewed-by: Giuliano Procida <gprocida@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
2022-01-18 18:56:11 +01:00
..
data XML writer: map type ids by bare pointer 2022-01-18 18:56:11 +01:00
lib tests/catch.hpp: Add SPDX header back 2021-03-08 11:33:56 +01:00
.gitignore
Makefile.am Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
mockfedabipkgdiff.in Handle several variants of Python 'imp', 'importlib' modules 2022-01-06 15:44:29 +01:00
print-diff-tree.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
runtestcanonicalizetypes.sh.in
runtestdefaultsupprs.py.in
runtestdefaultsupprspy3.sh.in
runtestfedabipkgdiff.py.in
runtestfedabipkgdiffpy3.sh.in
runtestslowselfcompare.sh.in
test-abicompat.cc test-abicompat: Make the test output more pleasant 2021-11-09 15:35:19 +01:00
test-abidiff-exit.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-abidiff.cc Bug 27985 - abidiff: bad array types in report 2021-09-03 11:08:01 +02:00
test-alt-dwarf-file.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-annotate.cc Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-core-diff.cc
test-cxx-compat.cc abg-cxx-compat: add simplified version of std::optional 2021-03-09 10:41:10 +01:00
test-diff-dwarf-abixml.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-diff-dwarf.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
test-diff-filter.cc Bug 27995 - Self comparison error from abixml file 2021-08-11 17:38:14 +02:00
test-diff-pkg.cc configure: Instead of for rpm 4.15+ version, test actual rpm/zstd support 2021-12-17 21:13:25 +01:00
test-diff-suppr.cc suppression: Fix has_data_member_inserted_between = {offset_of(), offset_of()} 2021-12-06 14:39:32 +01:00
test-diff2.cc
test-dot.cc
test-elf-helpers.cc
test-ini.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-ir-walker.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
test-kmi-whitelist.cc
test-lookup-syms.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-read-common.cc Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-read-common.h Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-read-ctf.cc ctf-reader: Assert on ir::hash_as_canonical_type_or_constant 2022-01-03 15:16:12 +01:00
test-read-dwarf.cc Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-read-write.cc symtab: Add support for MODVERSIONS (CRC checksums) 2021-04-02 16:13:13 +02:00
test-svg.cc
test-symtab-reader.cc dwarf-reader split: create abg-symtab-reader.{h,cc} and test case 2021-03-10 18:54:55 +01:00
test-symtab.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
test-tools-utils.cc
test-types-stability.cc Bug 28450 - Fix cloned member function handling in DWARF 2021-11-12 18:31:28 +01:00
test-utils.cc test-utils: Define test status reporting functions 2021-11-17 12:02:37 +01:00
test-utils.h test-utils: Define test status reporting functions 2021-11-17 12:02:37 +01:00
test-valgrind-suppressions.supp
update-test-output.py