| 560 | } |
| 561 | |
| 562 | BX_NO_INLINE uint32_t getCallStackExact(uint32_t _skip, uint32_t _max, uintptr_t* _outStack) |
| 563 | { |
| 564 | #if BX_PLATFORM_LINUX |
| 565 | return getCallStackUnwind(_skip + 1 /* skip self */, _max, _outStack); |
| 566 | #elif BX_PLATFORM_OSX |
| 567 | return getCallStackExecInfoBacktrace(_skip + 1 /* skip self */, _max, _outStack); |
| 568 | #elif BX_PLATFORM_WINDOWS |
| 569 | return getCallStackWinRtl(_skip + 1 /* skip self */, _max, _outStack); |
| 570 | #else |
| 571 | BX_UNUSED(_skip, _max, _outStack); |
| 572 | return 0; |
| 573 | #endif // BX_PLATFORM_* |
| 574 | } |
| 575 | |
| 576 | static constexpr uint32_t kWidth = 80; |
| 577 | static constexpr uint32_t kWidthPc = 16; |
no test coverage detected