cpptrace/src/symbols/symbols_with_nothing.cpp
2023-09-11 11:57:01 -04:00

25 lines
529 B
C++

#ifdef CPPTRACE_GET_SYMBOLS_WITH_NOTHING
#include <cpptrace/cpptrace.hpp>
#include "symbols.hpp"
#include <vector>
namespace cpptrace {
namespace detail {
namespace nothing {
std::vector<stacktrace_frame> resolve_frames(const std::vector<void*>& frames) {
return std::vector<stacktrace_frame>(frames.size(), {
0,
0,
0,
"",
""
});
}
}
}
}
#endif