libabigail/tests/data
Dodji Seketeli 6baecca506 18252 - Added parameters are not properly sorted
In the changed functions/variables section of the abidiff report, when
function parameters were added or removed, they were not properly
sorted.  This patch fixes that.

	* src/abg-comparison.cc (sort_string_parm_map): Define new static
	function.
	(struct parm_comp): Define new type.
	(function_type_diff::priv::{sorted_deleted_parms_,
	sorted_added_parms_}): New data members that hold sorted
	deleted/added parameters.
	(function_type_diff::ensure_lookup_tables_populated): Initialize
	the two new data members above.
	(function_type_diff::report): For the report of parameters that
	got added/removed, use the sorted set of added/removed parameters
	above.
	* tests/data/test-diff-dwarf/test24-added-fn-parms-report-0.txt:
	New test input.
	* tests/data/test-diff-dwarf/libtest24-added-fn-parms-v{0,1}.so:
	Likewise.
	* tests/data/test-diff-dwarf/test25-removed-fn-parms-report-0.txt:
	Likewise.
	* tests/data/test-diff-dwarf/libtest25-removed-fn-parms-v{0,1}.so:
	Likewise.
	* tests/data/test-diff-dwarf/test24-added-fn-parms-v{0,1}.c:
	Likewise.
	* tests/data/test-diff-dwarf/test25-removed-fn-parms-v{0,1}.c:
	Likewise.
	* tests/data/Makefile.am: Add the new test material above to the
	source distribution.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2015-04-15 15:21:56 +02:00
..
test-abicompat Misc reporting fixes/improvements 2015-04-14 06:16:00 +02:00
test-abidiff Misc reporting fixes/improvements 2015-04-14 06:16:00 +02:00
test-alt-dwarf-file Make the alt dwarf debug file *not* be a symlink 2014-11-19 16:50:48 +01:00
test-core-diff
test-diff-dwarf 18252 - Added parameters are not properly sorted 2015-04-15 15:21:56 +02:00
test-diff-filter Misc reporting fixes/improvements 2015-04-14 06:16:00 +02:00
test-diff-suppr Misc reporting fixes/improvements 2015-04-14 06:16:00 +02:00
test-lookup-syms
test-read-dwarf Add support for abicompat weak mode 2015-04-03 22:45:41 +02:00
test-read-write PR libabigail/18180 2015-03-31 08:06:17 +02:00
test-write-read-archive
Makefile.am 18252 - Added parameters are not properly sorted 2015-04-15 15:21:56 +02:00