bin: add support for SPOT_OOM_ABORT
* bin/common_setup.cc: Here. * NEWS, bin/man/spot-x.x: Document it.
This commit is contained in:
parent
b20687630b
commit
42a94c4dbe
3 changed files with 28 additions and 0 deletions
|
|
@ -99,6 +99,19 @@ in third-party tools that output incorrect HOA (e.g., declaring
|
|||
the automaton with property "univ-branch" when no universal branching
|
||||
is actually used)
|
||||
|
||||
.TP
|
||||
\fBSPOT_OOM_ABORT\fR
|
||||
If this variable is set, Out-Of-Memory errors will \f(CWabort()\fR the
|
||||
program (potentially generating a coredump) instead of raising an
|
||||
exception. This is useful to debug a program and to obtain a stack
|
||||
trace pointing to the function doing the allocation. When this
|
||||
variable is unset (the default), \f(CWstd::bad_alloc\fR are thrown on
|
||||
memory allocation failures, and the stack is usually unwinded up to
|
||||
top-level, losing the original context of the error. Note that at
|
||||
least \f(CWltlcross\fR has some custom handling of
|
||||
\f(CWstd::bad_alloc\fR to recover from products that are too large (by
|
||||
ignoring them), and setting this variable will interfer with that.
|
||||
|
||||
.TP
|
||||
\fBSPOT_PR_CHECK\fR
|
||||
Select the default algorithm that must be used to check the persistence
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue