mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-24 01:46:50 +00:00
Like what was done for abidw, this patch adds a --debug-tc option to abidiff to debug type canonicalization issues. With this option, just like for abidw, during type canonicalization, each type comparison is done twice: once using structural comparison and once using canonical comparison. Both comparisons should yield the same result otherwise, an abort signal is emitted, asking for in-depth debugging to understand reason of the difference. This option is enabled by the configure option --enable-debug-type-canonicalization. It proved useful in debugging some comparison errors I was looking at recently. * doc/manuals/abidiff.rst: Add documentation for the new --debug-tc option. Fix the existing documentation for --debug-self-comparison. * tools/abidiff.cc (options::do_debug_self_comparison): Renamed options::do_debug into this. (options::do_debug_type_canonicalization): Add new data member. (display_usage): Fix help string for the --debug option that is now --debug-self-comparison. Also, add a help string for the new option --debug-tc option. (main): Adjust use options::do_debug into options::do_debug_self_comparison. Call environment::debug_type_canonicalization() if the user provided the --debug-tc option. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
.gitignore | ||
abicompat.cc | ||
abidiff.cc | ||
abidw.cc | ||
abilint.cc | ||
abipkgdiff.cc | ||
abisym.cc | ||
binilint.cc | ||
fedabipkgdiff | ||
kmidiff.cc | ||
Makefile.am |