25 lines
394 B
C++
25 lines
394 B
C++
#pragma once
|
|
|
|
#include <hex.hpp>
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace hex::stacktrace {
|
|
|
|
struct StackFrame {
|
|
std::string file;
|
|
std::string function;
|
|
u32 line;
|
|
};
|
|
|
|
void initialize();
|
|
|
|
struct StackTraceResult {
|
|
std::vector<StackFrame> stackFrames;
|
|
std::string implementationName;
|
|
};
|
|
|
|
StackTraceResult getStackTrace();
|
|
|
|
} |