libabigail/tests/data
Dodji Seketeli 2f61188d43 dwarf-reader: Do not re-use typedefs in a scope
Sometimes, two typedefs of the same name can appear at the same scope
but point to different types, in DWARF.  Unbelievable but true.  In
those case, we do not want to re-use the typedef, obviously, as we can
possibly misrepresent the type graph in that case.

This fixes one self-comparison issue for the x86_64 sub-package of the
gcc-gnat package that is tested by doing:

    $ fedabipkgdiff --self-compare  -a --from fc37 gcc-gnat

	* src/abg-dwarf-reader.cc (build_ir_node_from_die): Do not re-use
	a typedef from a given scope.
	* src/abg-reader.cc (build_typedef_type): Do not re-use typedefs
	with the same ID.
	* tests/data/test-annotate/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
	Adjust.
	* tests/data/test-annotate/test20-pr19025-libvtkParallelCore-6.1.so.abi:
	Likewise.
	* tests/data/test-diff-filter/test31-pr18535-libstdc++-report-0.txt:
	Likewise.
	* tests/data/test-diff-filter/test31-pr18535-libstdc++-report-1.txt:
	Likewise.
	* tests/data/test-diff-filter/test41-report-0.txt: Likewise.
	* tests/data/test-read-dwarf/PR22122-libftdc.so.abi: Likewise.
	* tests/data/test-read-dwarf/test-libandroid.so.abi: Likewise.
	* tests/data/test-read-dwarf/test10-pr18818-gcc.so.abi: Likewise.
	* tests/data/test-read-dwarf/test11-pr18828.so.abi: Likewise.
	* tests/data/test-read-dwarf/test12-pr18844.so.abi: Likewise.
	* tests/data/test-read-dwarf/test16-pr18904.so.abi: Likewise.
	* tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/test9-pr18818-clang.so.abi: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2023-09-07 15:23:39 +02:00
..
test-abicompat
test-abidiff ir: Use non qualified typedef name for type canonicalization 2023-09-07 15:23:38 +02:00
test-abidiff-exit abidiff: Add --{follow,list}-dependencies & add-binaries{1,2} support 2023-07-07 13:34:51 +02:00
test-alt-dwarf-file
test-annotate dwarf-reader: Do not re-use typedefs in a scope 2023-09-07 15:23:39 +02:00
test-core-diff
test-default-supprs
test-diff-dwarf ir: Use non qualified typedef name for type canonicalization 2023-09-07 15:23:38 +02:00
test-diff-dwarf-abixml dwarf-reader: Support Ada subranges having upper_bound < lower_bound 2023-04-05 16:54:32 +02:00
test-diff-filter dwarf-reader: Do not re-use typedefs in a scope 2023-09-07 15:23:39 +02:00
test-diff-pkg abipkgdiff: Avoid comparing binaries that are outside of the package 2023-09-07 15:23:38 +02:00
test-diff-pkg-ctf abipkgdiff: Avoid comparing binaries that are outside of the package 2023-09-07 15:23:38 +02:00
test-diff-suppr
test-fedabipkgdiff
test-ini ini: Do not crash on incorrect property value 2023-04-26 22:32:42 +02:00
test-kmi-whitelist
test-lookup-syms
test-read-btf Bug 30466 - harfbuzz fails self-check on f38 2023-06-02 17:46:57 +02:00
test-read-common
test-read-ctf Bug 30466 - harfbuzz fails self-check on f38 2023-06-02 17:46:57 +02:00
test-read-dwarf dwarf-reader: Do not re-use typedefs in a scope 2023-09-07 15:23:39 +02:00
test-read-write ir: Use non qualified typedef name for type canonicalization 2023-09-07 15:23:38 +02:00
test-symtab
test-types-stability
test-write-read-archive
Makefile.am abipkgdiff: Avoid comparing binaries that are outside of the package 2023-09-07 15:23:38 +02:00