| 1149 | #endif // BX_CONFIG_CALLSTACK_* |
| 1150 | |
| 1151 | void debugOutputCallstack(uint32_t _skip) |
| 1152 | { |
| 1153 | char temp[8192]; |
| 1154 | StaticMemoryBlockWriter smb(temp, BX_COUNTOF(temp) ); |
| 1155 | |
| 1156 | uintptr_t stack[32]; |
| 1157 | const uint32_t num = getCallStackExact(_skip + 1 /* skip self */, BX_COUNTOF(stack), stack); |
| 1158 | const int32_t total = writeCallstack(&smb, stack, num, ErrorIgnore{}); |
| 1159 | |
| 1160 | write(getDebugOut(), temp, total, ErrorIgnore{}); |
| 1161 | } |
| 1162 | |
| 1163 | #if BX_CONFIG_EXCEPTION_HANDLING_USE_POSIX_SIGNALS |
| 1164 | struct SignalInfo |
nothing calls this directly
no test coverage detected