Index: runtime/vm/os_macos.cc |
diff --git a/runtime/vm/os_macos.cc b/runtime/vm/os_macos.cc |
index 046d47551c4cfc1747e313c9e38bfd787a206d2a..efdcd2bbf937c479c903ddb901bce0a19a0f7592 100644 |
--- a/runtime/vm/os_macos.cc |
+++ b/runtime/vm/os_macos.cc |
@@ -154,11 +154,7 @@ void OS::SleepMicros(int64_t micros) { |
void OS::DebugBreak() { |
-#if defined(HOST_ARCH_X64) || defined(HOST_ARCH_IA32) |
- asm("int $3"); |
-#else |
-#error Unsupported architecture. |
-#endif |
+ __builtin_trap(); |
} |