#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 #include namespace il2cpp { namespace utils { class NativeSymbol { public: #if (IL2CPP_ENABLE_NATIVE_STACKTRACES && (!RUNTIME_TINY || IL2CPP_TINY_DEBUG_METADATA)) static void RegisterMethods(const std::vector& managedMethods); static const VmMethod* GetMethodFromNativeSymbol(Il2CppMethodPointer nativeMethod); static bool GetMethodDebugInfo(const MethodInfo* method, Il2CppMethodDebugInfo* methodDebugInfo); #endif }; } /* namespace vm */ } /* namespace mono */