mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
provide additional diagnostics for #5009
This commit is contained in:
parent
8ca2de41db
commit
8b5094fe73
2 changed files with 9 additions and 3 deletions
|
@ -215,9 +215,11 @@ public:
|
|||
r = m_solver.check(m_asms.size(), m_asms.c_ptr());
|
||||
}
|
||||
catch (z3_exception& ex) {
|
||||
IF_VERBOSE(10, verbose_stream() << "exception: " << ex.msg() << "\n";);
|
||||
reason_set = true;
|
||||
set_reason_unknown(std::string("(sat.giveup ") + ex.msg() + ')');
|
||||
IF_VERBOSE(1, verbose_stream() << "exception: " << ex.msg() << "\n";);
|
||||
if (m.inc()) {
|
||||
reason_set = true;
|
||||
set_reason_unknown(std::string("(sat.giveup ") + ex.msg() + ')');
|
||||
}
|
||||
r = l_undef;
|
||||
}
|
||||
switch (r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue