]> sourceware.org Git - libabigail.git/commit
ir: Add some debugging facilities for the comparison machinery
authorDodji Seketeli <dodji@redhat.com>
Thu, 30 Jun 2022 11:14:20 +0000 (13:14 +0200)
committerDodji Seketeli <dodji@redhat.com>
Thu, 30 Jun 2022 12:46:47 +0000 (14:46 +0200)
commitd21dbadddd847898362d715ff577628535360f17
treed50e2a6ae2daeac12994085c6a588d29081acc49
parent69795d1bf8af9663fb3188d3e70cd72bc0857457
ir: Add some debugging facilities for the comparison machinery

When looking at something else, I felt the need to write the
debugging facilities below to dump the content of the set of types
being compared, to better understand why some comparison take more or
less time.

* src/abg-ir-priv.h: Include iostream to access std::cerr.
(environment::priv::{dump_classes_being_compared,
dump_fn_types_being_compared}): Define new member functions.
* src/abg-ir.cc (dump_classes_being_compared)
(dump_fn_types_being_compared): Define new functions.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-ir-priv.h
src/abg-ir.cc
This page took 0.033212 seconds and 5 git commands to generate.