29 lines
726 B
C++
29 lines
726 B
C++
#pragma once
|
|
|
|
#if !RUINTIME_TINY
|
|
#include "vm/MetadataCache.h"
|
|
#endif
|
|
|
|
#include "vm/StackTrace.h"
|
|
#include "vm-utils/MethodDefinitionKey.h"
|
|
#include "vm-utils/VmMethod.h"
|
|
|
|
#include <stdint.h>
|
|
#include <vector>
|
|
|
|
namespace il2cpp
|
|
{
|
|
namespace utils
|
|
{
|
|
class NativeSymbol
|
|
{
|
|
public:
|
|
#if (IL2CPP_ENABLE_NATIVE_STACKTRACES && (!RUNTIME_TINY || IL2CPP_TINY_DEBUG_METADATA))
|
|
static void RegisterMethods(const std::vector<MethodDefinitionKey>& managedMethods);
|
|
static const VmMethod* GetMethodFromNativeSymbol(Il2CppMethodPointer nativeMethod);
|
|
static bool GetMethodDebugInfo(const MethodInfo* method, Il2CppMethodDebugInfo* methodDebugInfo);
|
|
#endif
|
|
};
|
|
} /* namespace vm */
|
|
} /* namespace mono */
|