Commit 32a4647d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Ease debugging of LTL formulae leaks.

* src/tgbatest/ltl2tgba.cc: Dump all LTLinstances with their
reference count.
parent 4e22bb8b
2009-11-10 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Ease debugging of LTL formulae leaks.
* src/tgbatest/ltl2tgba.cc: Dump all LTLinstances with their
reference count.
2009-11-10 Alexandre Duret-Lutz <adl@lrde.epita.fr> 2009-11-10 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Introduce tgba_explicit_labelled<label> so that we can build Introduce tgba_explicit_labelled<label> so that we can build
......
...@@ -961,6 +961,11 @@ main(int argc, char** argv) ...@@ -961,6 +961,11 @@ main(int argc, char** argv)
delete unobservables; delete unobservables;
} }
spot::ltl::atomic_prop::dump_instances(std::cerr);
spot::ltl::unop::dump_instances(std::cerr);
spot::ltl::binop::dump_instances(std::cerr);
spot::ltl::multop::dump_instances(std::cerr);
spot::ltl::automatop::dump_instances(std::cerr);
assert(spot::ltl::atomic_prop::instance_count() == 0); assert(spot::ltl::atomic_prop::instance_count() == 0);
assert(spot::ltl::unop::instance_count() == 0); assert(spot::ltl::unop::instance_count() == 0);
assert(spot::ltl::binop::instance_count() == 0); assert(spot::ltl::binop::instance_count() == 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment