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

Function __throw_runtime_error

system/lib/libcxx/src/stdexcept.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#endif
19
20_LIBCPP_BEGIN_NAMESPACE_STD
21
22void __throw_runtime_error(const char* msg) {
23#if _LIBCPP_HAS_EXCEPTIONS
24 throw runtime_error(msg);
25#else
26 _LIBCPP_VERBOSE_ABORT("runtime_error was thrown in -fno-exceptions mode with message \"%s\"", msg);
27#endif
28}
29
30_LIBCPP_END_NAMESPACE_STD

Callers 15

operator()Method · 0.85
localeMethod · 0.85
collate_bynameMethod · 0.85
ctype_bynameMethod · 0.85
codecvtMethod · 0.85
__initMethod · 0.85
__time_getMethod · 0.85
__analyzeMethod · 0.85
initMethod · 0.85
__time_putMethod · 0.85
__do_putMethod · 0.85
locale.cppFile · 0.85

Calls 1

runtime_errorFunction · 0.85

Tested by

no test coverage detected