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

Function print_stacktrace_noop

tests/crash_handler_noop.h:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace crash_handler_noop {
9
10inline void print_stacktrace_noop() {
11 printf("Stack trace (no-op): Stack trace functionality not available\n");
12 printf(" Compile with one of the following to enable stack traces:\n");
13 printf(" - Windows: Automatically enabled on Windows builds\n");
14 printf(" - libunwind: Define USE_LIBUNWIND and link with -lunwind\n");
15 printf(" - execinfo: Available on most Unix-like systems with glibc\n");
16}
17
18inline void crash_handler(int sig) {
19 fprintf(stderr, "Error: signal %d:\n", sig);

Callers 2

crash_handlerFunction · 0.85
print_stacktraceFunction · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected