No Description
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.

CrashHelpers.cpp 390B

123456789101112131415161718192021222324
  1. #include "il2cpp-config.h"
  2. #include "os/CrashHelpers.h"
  3. #if IL2CPP_TARGET_WINDOWS && !IL2CPP_USE_GENERIC_CRASH_HELPERS
  4. #include "WindowsHeaders.h"
  5. namespace il2cpp
  6. {
  7. namespace os
  8. {
  9. void CrashHelpers::CrashImpl()
  10. {
  11. // __fastfail() is available since VS2012
  12. #if _MSC_VER >= 1700
  13. __fastfail(FAST_FAIL_FATAL_APP_EXIT);
  14. #else
  15. abort();
  16. #endif
  17. }
  18. }
  19. }
  20. #endif