24 lines
460 B
C
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 */
|