mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 09:49:59 +00:00
70d5afdaa2
* include/abg-comparison.h (unsigned_changed_parm_map) (unsigned_parm_map): New typedefs. * src/abg-comparison.cc (function_decl_diff::subtype_changed_parms): Renamed this from changed_parms. (function_decl_diff::priv::subtype_changed_parms_}): Renamed this from changed_parms_; (function_decl_diff::priv::{deleted_parms_by_id_, added_parms_by_id_, changed_parms_by_id_}): New members. (function_decl_diff::ensure_lookup_tables_populated): Update the new priv::changed_parms_by_id_ member to contain the parameters that got changed, as opposed to the subtype_changed_parms_ member that contain parameters that got a sub-type change. The other priv::*_by_id_ members are helpers for this. Update them too. (function_decl_diff::subtype_changed_parms): Renamed this from ::changed_parms. (function_decl_diff::report): Report separately about parameters having a sub-type change, and parameters that got changed. Note that in both cases, the change is necessarily to a compatible type. * data/test-diff-dwarf/test2-v0.cc: New test file. * data/test-diff-dwarf/test2-v0.o: Likewise. * data/test-diff-dwarf/test2-v1.cc: Likewise. * data/test-diff-dwarf/test2-v1.o: Likewise. * data/test-diff-dwarf/test2-report.txt: Likewise. * tests/Makefile.am: Add the new test files above to the distribution. * tests/test-diff-dwarf.cc: Consume the input files above to actually perform a regression test. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
data | ||
Makefile.am | ||
test-bidiff.cc | ||
test-core-diff.cc | ||
test-diff2.cc | ||
test-diff-dwarf.cc | ||
test-diff-filter.cc | ||
test-dot.cc | ||
test-ir-walker.cc | ||
test-read-dwarf.cc | ||
test-read-write.cc | ||
test-svg.cc | ||
test-utils.cc | ||
test-utils.h | ||
test-write-read-archive.cc |