MCPcopy Create free account
hub / github.com/FastLED/FastLED / crash_handler

Function crash_handler

tests/crash_handler_noop.h:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18inline void crash_handler(int sig) {
19 fprintf(stderr, "Error: signal %d:\n", sig);
20 print_stacktrace_noop();
21 exit(1);
22}
23
24inline void setup_crash_handler() {
25 // Set up basic signal handlers (no stack trace capability)

Callers

nothing calls this directly

Calls 2

print_stacktrace_noopFunction · 0.85
exitFunction · 0.85

Tested by

no test coverage detected