Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/libAtomVM/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@ static Context *jit_handle_error(Context *ctx, JITState *jit_state, int offset)
}

// Do not print crash dump if reason is normal or shutdown.
#ifdef AVM_PRINT_PROCESS_CRASH_DUMPS
if (ctx->x[0] != LOWERCASE_EXIT_ATOM || (ctx->x[1] != NORMAL_ATOM && ctx->x[1] != SHUTDOWN_ATOM)) {
context_dump(ctx);
}
#endif

if (ctx->x[0] == LOWERCASE_EXIT_ATOM) {
ctx->exit_reason = ctx->x[1];
Expand Down
Loading