MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / _mi_assert_fail

Function _mi_assert_fail

system/lib/mimalloc/src/options.c:564–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562
563#if MI_DEBUG
564mi_decl_noreturn mi_decl_cold void _mi_assert_fail(const char* assertion, const char* fname, unsigned line, const char* func ) mi_attr_noexcept {
565 _mi_fprintf(NULL, NULL, "mimalloc: assertion failed: at \"%s\":%u, %s\n assertion: \"%s\"\n", fname, line, (func==NULL?"":func), assertion);
566 abort();
567}
568#endif
569
570// --------------------------------------------------------

Callers

nothing calls this directly

Calls 2

_mi_fprintfFunction · 0.85
abortFunction · 0.50

Tested by

no test coverage detected