mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-14 05:31:29 +00:00
Move log_abort()'s call to log_error() into an out-of-line non-varargs function
This commit is contained in:
parent
419eeb2a8f
commit
b6459a3d8b
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