| 93 | } |
| 94 | |
| 95 | void signal_handler(int signum) { |
| 96 | INFO("Interrupt signal ({}) received.", signum); |
| 97 | boost::stacktrace::stacktrace st; |
| 98 | std::ostringstream oss; |
| 99 | oss << st; |
| 100 | ERROR("Stacktrace:\n{}", oss.str()); |
| 101 | exit(1); |
| 102 | } |
| 103 | |
| 104 | template <typename T> |
| 105 | void print_vector(T* ptr, size_t size) { |
nothing calls this directly
no outgoing calls
no test coverage detected