1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Core: Use correct "debug break" intrinsic for Windows-ARM64-ClangCL

This commit is contained in:
Oli 2025-08-18 14:45:02 +01:00
parent ac89007949
commit ceaa708042

View file

@ -85,14 +85,14 @@ namespace juce
#define JUCE_BREAK_IN_DEBUGGER { __debugbreak(); }
#elif JUCE_INTEL && (JUCE_GCC || JUCE_CLANG || JUCE_MAC)
#if JUCE_NO_INLINE_ASM
#define JUCE_BREAK_IN_DEBUGGER { }
#define JUCE_BREAK_IN_DEBUGGER { }
#else
#define JUCE_BREAK_IN_DEBUGGER { asm ("int $3"); }
#define JUCE_BREAK_IN_DEBUGGER { asm ("int $3"); }
#endif
#elif JUCE_ARM && JUCE_MAC
#define JUCE_BREAK_IN_DEBUGGER { __builtin_debugtrap(); }
#elif JUCE_ANDROID
#define JUCE_BREAK_IN_DEBUGGER { __builtin_trap(); }
#elif JUCE_ARM && JUCE_CLANG
#define JUCE_BREAK_IN_DEBUGGER { __builtin_debugtrap(); }
#else
#define JUCE_BREAK_IN_DEBUGGER { __asm int 3 }
#endif