We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad9224 commit 0619e0aCopy full SHA for 0619e0a
core/arm/armcpu.c
@@ -12,7 +12,9 @@
12
# define __has_builtin(builtin) 0
13
#endif
14
15
-#ifdef _MSC_VER
+#if defined(__aarch64__) && defined(__APPLE__)
16
+# define DEBUG_BREAK __builtin_trap()
17
+#elif defined(_MSC_VER)
18
# define DEBUG_BREAK __debugbreak()
19
#else
20
# define DEBUG_BREAK asm("int3")
0 commit comments