mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 14:47:32 +00:00
The emitted type sets are used with some referenced type sets (which use bare type pointers). To keep consistency between what is being recorded in each set, switch to storing exemplar type pointers in the referenced type sets. This change results in the omission of a small number of duplicate types from various test cases. In each case the duplicates were previously caused by a referenced type being emitted for one translation unit and then the same type being emitted as a canonical type for a later translation unit. It also causes the movement of some function types in some test cases. Some of those types are now considered referenced and appear earlier as a result. * src/abg-writer.cc (record_type_as_referenced): Use exemplar type with referenced type sets. (type_is_referenced): Likewise. (tests/data/test-annotate/test14-pr18893.so.abi): Duplicate type(s) removed, as described above. (tests/data/test-read-dwarf/test14-pr18893.so.abi): Likewise. (tests/data/test-annotate/test19-pr19023-libtcmalloc_and_profiler.so.abi): Likewise. (tests/data/test-read-dwarf/test16-pr18904.so.abi): Likewise. (tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi): Likewise. (tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi): Likewise. (tests/data/test-read-dwarf/PR25007-sdhci.ko.abi): Some function type(s) reordered, as described above. (tests/data/test-read-dwarf/PR25042-libgdbm-clang-dwarf5.so.6.0.0.abi): Likewise. (tests/data/test-annotate/test15-pr18892.so.abi):: Duplicate type(s) removed and some function type(s) reordered, as described above. (tests/data/test-read-dwarf/test15-pr18892.so.abi): Likewise. (tests/data/test-annotate/test21-pr19092.so.abi): Likewise. (tests/data/test-read-dwarf/test21-pr19092.so.abi): Likewise Reviewed-by: Giuliano Procida <gprocida@google.com> Signed-off-by: Matthias Maennich <maennich@google.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
data | ||
lib | ||
.gitignore | ||
Makefile.am | ||
mockfedabipkgdiff.in | ||
print-diff-tree.cc | ||
runtestcanonicalizetypes.sh.in | ||
runtestdefaultsupprs.py.in | ||
runtestdefaultsupprspy3.sh.in | ||
runtestfedabipkgdiff.py.in | ||
runtestfedabipkgdiffpy3.sh.in | ||
runtestslowselfcompare.sh.in | ||
test-abicompat.cc | ||
test-abidiff-exit.cc | ||
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 | ||
test-diff-pkg.cc | ||
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 | ||
test-read-write.cc | ||
test-svg.cc | ||
test-symtab-reader.cc | ||
test-symtab.cc | ||
test-tools-utils.cc | ||
test-types-stability.cc | ||
test-utils.cc | ||
test-utils.h | ||
test-valgrind-suppressions.supp | ||
update-test-output.py |