ZK_Framework/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/vm-utils/NativeSymbol.h

29 lines
726 B
C
Raw Normal View History

2024-07-04 20:18:43 +08:00
#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 */