This commit is contained in:
2025-11-13 20:56:11 +01:00
commit c80ca6db02
21 changed files with 1916 additions and 0 deletions

25
src/detail/stacktrace.hpp Normal file
View File

@@ -0,0 +1,25 @@
#pragma once
#include <string>
#include <vector>
namespace fxn::detail
{
struct Stackframe
{
void* address;
std::string formatted;
};
class Stacktrace
{
private:
std::vector<Stackframe> m_Frames;
public:
Stacktrace();
public:
const std::vector<Stackframe>& GetFrames() const noexcept;
std::string ToString() const;
};
}