3
0
Fork 0
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:
Robert O'Callahan 2025-08-23 18:30:07 +12:00 committed by Jannis Harder
parent 419eeb2a8f
commit b6459a3d8b
2 changed files with 8 additions and 1 deletions

View file

@ -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;