source: XIOS3/trunk/extern/cpptrace/src/symbols_with_nothing.cpp

Last change on this file was 2573, checked in by ymipsl, 9 months ago

create new external source lib : cpptrace, for statck trace output
YM

File size: 552 bytes
Line 
1#include "cpptrace_default.hpp"
2#ifdef CPPTRACE_GET_SYMBOLS_WITH_NOTHING
3
4#include <cpptrace.hpp>
5#include "symbols.hpp"
6
7#include <vector>
8
9namespace cpptrace {
10    namespace detail {
11        namespace nothing {
12            std::vector<stacktrace_frame> resolve_frames(const std::vector<void*>& frames) {
13                return std::vector<stacktrace_frame>(frames.size(), {
14                    0,
15                    0,
16                    0,
17                    "",
18                    ""
19                });
20            }
21        }
22    }
23}
24
25#endif
Note: See TracBrowser for help on using the repository browser.