Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NativeSymbol.h 648B

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