| Index: base/logging.h
|
| diff --git a/base/logging.h b/base/logging.h
|
| index 7854e3934e974b4670930d6855f3ab8699a8376f..0ef75f91ea3f4d363b7ed6127f4577f68a817da2 100644
|
| --- a/base/logging.h
|
| +++ b/base/logging.h
|
| @@ -461,10 +461,12 @@ class CheckOpResult {
|
| };
|
|
|
| // Crashes in the fastest, simplest possible way with no attempt at logging.
|
| -#if defined(COMPILER_GCC) || defined(__clang__)
|
| +#if defined(COMPILER_GCC)
|
| #define IMMEDIATE_CRASH() __builtin_trap()
|
| +#elif defined(COMPILER_MSVC)
|
| +#define IMMEDIATE_CRASH() __debugbreak()
|
| #else
|
| -#define IMMEDIATE_CRASH() ((void)(*(volatile char*)0 = 0))
|
| +#error Port
|
| #endif
|
|
|
| // CHECK dies with a fatal error if condition is not true. It is *not*
|
|
|