mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-28 02:09:24 +00:00
Move log_abort()'s call to log_error() into an out-of-line non-varargs function
This commit is contained in:
parent
1b5373de0d
commit
c3924d0616
2 changed files with 8 additions and 1 deletions
|
|
@ -415,6 +415,11 @@ void log_assert_failure(const char *expr, const char *file, int line)
|
|||
log_error("Assert `%s' failed in %s:%d.\n", expr, file, line);
|
||||
}
|
||||
|
||||
void log_abort_internal(const char *file, int line)
|
||||
{
|
||||
log_error("Abort in %s:%d.\n", file, line);
|
||||
}
|
||||
|
||||
void log_cmd_error(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue