Badminton-Scoreboard/Libraries/libil2cpp/include/vm-utils/DebugSymbolReader.h

24 lines
460 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
#include <cstdint>
namespace il2cpp
{
namespace utils
{
struct SourceLocation
{
const char* filePath;
uint32_t lineNumber;
};
class DebugSymbolReader
{
public:
static bool LoadDebugSymbols();
static bool GetSourceLocation(void* nativeInsturctionPointer, SourceLocation& sourceLocation);
static bool DebugSymbolsAvailable();
};
} /* namespace utils */
} /* namespace il2cpp */