| 46 | namespace ffi { |
| 47 | namespace { |
| 48 | void BacktraceCreateErrorCallback(void*, const char* msg, int) { |
| 49 | std::cerr << "Could not initialize backtrace state: " << msg << std::endl; |
| 50 | } |
| 51 | |
| 52 | backtrace_state* BacktraceCreate() { |
| 53 | return backtrace_create_state(nullptr, 1, BacktraceCreateErrorCallback, nullptr); |
nothing calls this directly
no outgoing calls
no test coverage detected