CrashHelpers.cpp 238 B

1234567891011121314151617
  1. #include "il2cpp-config.h"
  2. #include "os/CrashHelpers.h"
  3. #if IL2CPP_TARGET_POSIX && !IL2CPP_USE_GENERIC_CRASH_HELPERS
  4. namespace il2cpp
  5. {
  6. namespace os
  7. {
  8. void CrashHelpers::CrashImpl()
  9. {
  10. __builtin_trap();
  11. }
  12. }
  13. }
  14. #endif