mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Fix logger
This commit is contained in:
parent
33653c8a80
commit
2e89aa572b
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ static inline void log_assert_worker(bool cond, const char *expr, const char *fi
|
|||
if (!cond) {
|
||||
log("ERROR: Assert `%s' failed in %s:%d.\n", expr, file, line);
|
||||
log_flush();
|
||||
printf("ERROR: Assert `%s' failed in %s:%d.\n", expr, file, line);
|
||||
raise(SIGABRT);
|
||||
}
|
||||
}
|
||||
#ifndef NDEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue