MCPcopy Create free account
hub / github.com/beefytech/Beef / FancyBacktrace

Function FancyBacktrace

BeefySysLib/platform/posix/PosixCommon.cpp:471–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471static bool FancyBacktrace()
472{
473 gUnwindExecStr += StrFormat("atos -p %d", getpid());
474 _Unwind_Backtrace(&UnwindHandler, NULL);
475#if BFP_HAS_ATOS
476 return system(gUnwindExecStr.c_str()) == 0;
477#else
478 return true;
479#endif
480}
481
482static void Crashed()
483{

Callers 1

CrashedFunction · 0.85

Calls 2

getpidFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected