Badminton-Scoreboard/Libraries/libil2cpp/include/vm-utils/DebugSymbolReader.h
2023-10-08 10:24:48 +08:00

24 lines
460 B
C++

#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 */