exit(0);
}
- segvNoSpin = opts[options::segvNoSpin];
+ segvSpin = opts[options::segvSpin];
// If in competition mode, set output stream option to flush immediately
#ifdef CVC4_COMPETITION_MODE
* Useful for nightly regressions, noninteractive performance runs
* etc. See util.cpp.
*/
-extern bool segvNoSpin;
+extern bool segvSpin;
/** A pointer to the options in play */
extern CVC4_THREADLOCAL(Options*) pOptions;
option incrementalParallel --incremental-parallel bool :default false :link --incremental
Use parallel solver even in incremental mode (may print 'unknown's at times)
+option segvSpin --segv-spin bool :default false
+ spin on segfault/other crash waiting for gdb
+undocumented-alias --segv-nospin = --no-segv-spin
+
expert-option waitToJoin --wait-to-join bool :default true
wait for other threads to join before quitting
* Useful for nightly regressions, noninteractive performance runs
* etc.
*/
-bool segvNoSpin = false;
+bool segvSpin = false;
#ifndef __WIN32__
cerr << "Looks like a NULL pointer was dereferenced." << endl;
}
- if(segvNoSpin) {
- fprintf(stderr, "No-spin requested, aborting...\n");
+ if(!segvSpin) {
if((*pOptions)[options::statistics] && pExecutor != NULL) {
pTotalTime->stop();
pExecutor->flushStatistics(cerr);
void ill_handler(int sig, siginfo_t* info, void*) {
#ifdef CVC4_DEBUG
fprintf(stderr, "CVC4 executed an illegal instruction in DEBUG mode.\n");
- if(segvNoSpin) {
- fprintf(stderr, "No-spin requested, aborting...\n");
+ if(!segvSpin) {
if((*pOptions)[options::statistics] && pExecutor != NULL) {
pTotalTime->stop();
pExecutor->flushStatistics(cerr);
fprintf(stderr, "The exception is:\n%s\n\n",
static_cast<const char*>(CVC4::s_debugLastException));
}
- if(segvNoSpin) {
- fprintf(stderr, "No-spin requested.\n");
+ if(!segvSpin) {
if((*pOptions)[options::statistics] && pExecutor != NULL) {
pTotalTime->stop();
pExecutor->flushStatistics(cerr);
option preprocessOnly preprocess-only --preprocess-only bool
exit after preprocessing input
-option segvNoSpin --segv-nospin bool
- don't spin on segfault waiting for gdb
-
option - trace -t --trace=TAG argument :handler CVC4::options::addTraceTag
trace something (e.g. -t pushpop), can repeat
option - debug -d --debug=TAG argument :handler CVC4::options::addDebugTag