MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / defaultCrashHandler

Function defaultCrashHandler

src/thundersvm/util/log.cpp:2765–2768  ·  view source on GitHub ↗

@brief Default application crash handler @detail This function writes log using 'default' logger, prints stack trace for GCC based compilers and aborts program.

Source from the content-addressed store, hash-verified

2763///
2764/// @detail This function writes log using 'default' logger, prints stack trace for GCC based compilers and aborts program.
2765static inline void defaultCrashHandler(int sig) {
2766 base::debug::logCrashReason(sig, true, Level::Fatal, base::consts::kDefaultLoggerId);
2767 base::debug::crashAbort(sig);
2768}
2769
2770// CrashHandler
2771

Callers

nothing calls this directly

Calls 2

logCrashReasonFunction · 0.85
crashAbortFunction · 0.85

Tested by

no test coverage detected