Fix inline assembly error when building on M1 Mac
@@ -5819,7 +5819,11 @@ namespace Catch {
#ifdef CATCH_PLATFORM_MAC
+ #if defined(__i386__) || defined(__x86_64__)
#define CATCH_TRAP() __asm__("int $3\n" : : ) /* NOLINT */
+ #elif defined(__aarch64__)
+ #define CATCH_TRAP() __asm__(".inst 0xd4200000")
+ #endif
#elif defined(CATCH_PLATFORM_LINUX)
// If we can use inline assembler, do it because this allows us to break
