MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / crashSignalHandler

Function crashSignalHandler

source/MRMesh/MRStacktrace.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13void crashSignalHandler( int signal )
14{
15 spdlog::critical( "Crash signal: {}", signal );
16 spdlog::info( "Crash stacktrace:\n{}", MR::getCurrentStacktraceInline() );
17 MR::printCurrentTimerBranch();
18 std::exit( signal );
19}
20
21}
22

Callers

nothing calls this directly

Calls 2

printCurrentTimerBranchFunction · 0.85

Tested by

no test coverage detected