NativeSymbol.h 548 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <stdint.h>
  3. #include <vector>
  4. #include "il2cpp-vm-support.h"
  5. namespace il2cpp
  6. {
  7. namespace utils
  8. {
  9. class NativeSymbol
  10. {
  11. public:
  12. #if IL2CPP_ENABLE_NATIVE_STACKTRACES
  13. static void RegisterMethods(const std::vector<MethodDefinitionKey>& managedMethods);
  14. static const VmMethod* GetMethodFromNativeSymbol(Il2CppMethodPointer nativeMethod);
  15. static bool GetMethodDebugInfo(const MethodInfo* method, Il2CppMethodDebugInfo* methodDebugInfo);
  16. #endif
  17. };
  18. } /* namespace vm */
  19. } /* namespace mono */