Last change
on this file was
2573,
checked in by ymipsl, 10 months ago
|
create new external source lib : cpptrace, for statck trace output
YM
|
File size:
467 bytes
|
Line | |
---|
1 | #ifndef UNWIND_HPP |
---|
2 | #define UNWIND_HPP |
---|
3 | |
---|
4 | #include "cpptrace_default.hpp" |
---|
5 | #include "common.hpp" |
---|
6 | |
---|
7 | #include <cstddef> |
---|
8 | #include <vector> |
---|
9 | |
---|
10 | namespace cpptrace { |
---|
11 | namespace detail { |
---|
12 | #ifdef CPPTRACE_HARD_MAX_FRAMES |
---|
13 | constexpr size_t hard_max_frames = CPPTRACE_HARD_MAX_FRAMES; |
---|
14 | #else |
---|
15 | constexpr size_t hard_max_frames = 100; |
---|
16 | #endif |
---|
17 | CPPTRACE_FORCE_NO_INLINE |
---|
18 | std::vector<void*> capture_frames(size_t skip); |
---|
19 | } |
---|
20 | } |
---|
21 | |
---|
22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.