libabigail/tests/data/test-abidiff-exit
Giuliano Procida 8a0825e319 Improve enum synthetic type names
The ordering of canonical types (in an abi-instr XML element) appears
to be sensitive to the particular C++ library used and the presence of
other threads doing heap allocation. This patch forces distinct
synthetic enum-underlying types to have distinct names, which ensures
deterministic XML output order.

	* src/abg-dwarf-reader.cc
	(build_internal_underlying_enum_type_name): Add a size
	argument (and don't default is_anonymous argument). Append
	size of type to synthetic type name.
	(build_enum_underlying_type): Pass type size to
	build_internal_underlying_enum_type_name.
	* tests/data/test-abidiff-exit/test-decl-enum-report-3.txt:
	Update. Note that there may be an issue with leaf-mode
	reporting of pointer type changes.
	* tests/data/test-diff-dwarf-abixml/PR25409-librte_bus_dpaa.so.20.0.abi:
	Regenerate this (catching up with various abidw updates).
	* tests/data/test-annotate/test-anonymous-members-0.o.abi:
	Refresh with new type names.
	* tests/data/test-annotate/test0.abi: Likewise.
	* tests/data/test-annotate/test13-pr18894.so.abi: Likewise.
	* tests/data/test-annotate/test14-pr18893.so.abi: Likewise.
	* tests/data/test-annotate/test15-pr18892.so.abi: Likewise.
	* tests/data/test-annotate/test17-pr19027.so.abi: Likewise.
	* tests/data/test-annotate/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
	Likewise.
	* tests/data/test-annotate/test19-pr19023-libtcmalloc_and_profiler.so.abi:
	Likewise.
	* tests/data/test-annotate/test20-pr19025-libvtkParallelCore-6.1.so.abi:
	Likewise.
	* tests/data/test-annotate/test21-pr19092.so.abi: Likewise.
	* tests/data/test-read-dwarf/PR22015-libboost_iostreams.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/PR22122-libftdc.so.abi: Likewise.
	* tests/data/test-read-dwarf/PR25007-sdhci.ko.abi: Likewise.
	* tests/data/test-read-dwarf/PR25042-libgdbm-clang-dwarf5.so.6.0.0.abi:
	Likewise.
	* tests/data/test-read-dwarf/test0.abi: Likewise.
	* tests/data/test-read-dwarf/test0.hash.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/test13-pr18894.so.abi: Likewise.
	* tests/data/test-read-dwarf/test14-pr18893.so.abi: Likewise.
	* tests/data/test-read-dwarf/test15-pr18892.so.abi: Likewise.
	* tests/data/test-read-dwarf/test16-pr18904.so.abi: Likewise.
	* tests/data/test-read-dwarf/test17-pr19027.so.abi: Likewise.
	* tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi:
	Likewise.
	* tests/data/test-read-dwarf/test21-pr19092.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: Giuliano Procida <gprocida@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
2020-11-02 17:37:42 +01:00
..
test-headers-dirs Make abidiff and abidw support several --headers-dir{1,2} options 2020-09-18 10:27:18 +02:00
test-decl-enum-report-2.txt Add tests for declaration-only enums. 2020-07-08 16:59:56 +02:00
test-decl-enum-report-3.txt Improve enum synthetic type names 2020-11-02 17:37:42 +01:00
test-decl-enum-report.txt Add tests for declaration-only enums. 2020-07-08 16:59:56 +02:00
test-decl-enum-v0.c Add tests for declaration-only enums. 2020-07-08 16:59:56 +02:00
test-decl-enum-v0.o Add tests for declaration-only enums. 2020-07-08 16:59:56 +02:00
test-decl-enum-v1.c Add tests for declaration-only enums. 2020-07-08 16:59:56 +02:00
test-decl-enum-v1.o Add tests for declaration-only enums. 2020-07-08 16:59:56 +02:00
test-decl-struct-report.txt abidiff: Omit declaration-only type size 0 diffs. 2020-04-27 13:12:48 +02:00
test-decl-struct-v0.c Add tests for declaration-only struct diffs. 2020-04-27 12:48:58 +02:00
test-decl-struct-v0.o Add tests for declaration-only struct diffs. 2020-04-27 12:48:58 +02:00
test-decl-struct-v1.c Add tests for declaration-only struct diffs. 2020-04-27 12:48:58 +02:00
test-decl-struct-v1.o Add tests for declaration-only struct diffs. 2020-04-27 12:48:58 +02:00
test-fun-param-report.txt Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-fun-param-v0.abi Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-fun-param-v0.c Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-fun-param-v0.o Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-fun-param-v1.abi Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-fun-param-v1.c Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-fun-param-v1.o Bug 25986 - Wrong name of function type used in change report 2020-05-14 09:54:52 +02:00
test-leaf-cxx-members-report.txt abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-cxx-members-v0.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-cxx-members-v0.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-cxx-members-v1.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-cxx-members-v1.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-fun-type-report.txt Rename test-abidiff-exit/test-leaf[0-3] files. 2020-04-07 14:48:58 +02:00
test-leaf-fun-type-v0.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-fun-type-v0.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-fun-type-v1.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-fun-type-v1.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-more-report.txt abg-reporter-priv.cc: Fix anonymous member size change reports. 2020-04-14 12:39:59 +02:00
test-leaf-more-v0.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-more-v0.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-more-v1.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-more-v1.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-peeling-report.txt abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-peeling-v0.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-peeling-v0.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-peeling-v1.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-peeling-v1.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-redundant-report.txt abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-redundant-v0.c abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-redundant-v0.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-redundant-v1.c abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-redundant-v1.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-stats-report.txt Rename test-abidiff-exit/test-leaf[0-3] files. 2020-04-07 14:48:58 +02:00
test-leaf-stats-v0.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-stats-v0.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-stats-v1.cc abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-leaf-stats-v1.o abidiff: Document and refresh tests. 2020-04-14 13:23:44 +02:00
test-loc-v0.bi Don't ignore options when diffing translation units (.bi files). 2020-02-03 14:08:26 +01:00
test-loc-v1.bi Don't ignore options when diffing translation units (.bi files). 2020-02-03 14:08:26 +01:00
test-loc-with-locs-report.txt abidiff: Clean up new lines between sections. 2020-03-30 16:26:31 +02:00
test-loc-without-locs-report.txt abidiff: Clean up new lines between sections. 2020-03-30 16:26:31 +02:00
test-member-size-report0.txt dwarf-reader: support several anonymous data members in a given class 2020-05-18 13:42:50 +02:00
test-member-size-report1.txt dwarf-reader: support several anonymous data members in a given class 2020-05-18 13:42:50 +02:00
test-member-size-v0.cc abg-reporter-priv.cc: Fix anonymous member size change reports. 2020-04-14 12:39:59 +02:00
test-member-size-v0.o abg-reporter-priv.cc: Fix anonymous member size change reports. 2020-04-14 12:39:59 +02:00
test-member-size-v1.cc abg-reporter-priv.cc: Fix anonymous member size change reports. 2020-04-14 12:39:59 +02:00
test-member-size-v1.o abg-reporter-priv.cc: Fix anonymous member size change reports. 2020-04-14 12:39:59 +02:00
test-net-change-report0.txt Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-report1.txt Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-report2.txt Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-report3.txt Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-v0.c Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-v0.o Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-v1.c Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change-v1.o Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-net-change.abignore Fix corpus_diff::has_net_changes for --leaf-changes-only mode 2020-07-21 08:53:19 +02:00
test-no-stray-comma-report.txt abg-reporter-priv.cc: Fix anonymous member size change reports. 2020-04-14 12:39:59 +02:00
test-no-stray-comma-v0.o Fix stray comma in leaf-changes-only mode. 2020-02-19 14:00:23 +01:00
test-no-stray-comma-v1.o Fix stray comma in leaf-changes-only mode. 2020-02-19 14:00:23 +01:00
test1-voffset-change-report0.txt Consider the implicit 'this' parameter when comparing methods 2020-10-09 11:05:23 +02:00
test1-voffset-change-report1.txt Update tests for the "better leaf mode redundancy management" patchset 2018-04-13 11:13:09 +02:00
test1-voffset-change-v0.cc
test1-voffset-change-v0.o
test1-voffset-change-v1.cc
test1-voffset-change-v1.o
test1-voffset-change.abignore Bug 19596 - Suppressed removed symbol changes still considered incompatible 2016-03-04 01:02:46 +01:00
test2-filtered-removed-fns-report0.txt Tag add/remove/change lines unconditionally with [A], [D], [C]. 2020-03-18 14:45:26 +01:00
test2-filtered-removed-fns-report1.txt Bug 19596 - Suppressed removed symbol changes still considered incompatible 2016-03-04 01:02:46 +01:00
test2-filtered-removed-fns-v0.c Bug 19596 - Suppressed removed symbol changes still considered incompatible 2016-03-04 01:02:46 +01:00
test2-filtered-removed-fns-v0.o Forgot to add test2-filtered-removed-fns-v{0,1}.o 2016-03-07 12:29:54 +01:00
test2-filtered-removed-fns-v1.c Bug 19596 - Suppressed removed symbol changes still considered incompatible 2016-03-04 01:02:46 +01:00
test2-filtered-removed-fns-v1.o Forgot to add test2-filtered-removed-fns-v{0,1}.o 2016-03-07 12:29:54 +01:00
test2-filtered-removed-fns.abignore Bug 19596 - Suppressed removed symbol changes still considered incompatible 2016-03-04 01:02:46 +01:00