mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 02:38:15 +02:00
Change runtime to exit() instead of abort(), unless under +verilated+debug.
This commit is contained in:
@@ -168,7 +168,12 @@ void vl_fatal(const char* filename, int linenum, const char* hier, const char* m
|
||||
|
||||
// Callbacks prior to termination
|
||||
Verilated::runExitCallbacks();
|
||||
std::abort();
|
||||
|
||||
if (Verilated::debug()) {
|
||||
std::abort();
|
||||
} else {
|
||||
std::exit(1);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user