| Index: base/logging.h
|
| diff --git a/base/logging.h b/base/logging.h
|
| index c0ebaf92bd3da3da67fa467cea0399542790debd..92f1753bb1af15d9c0ff68b42c1a97909254273c 100644
|
| --- a/base/logging.h
|
| +++ b/base/logging.h
|
| @@ -497,10 +497,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*
|
|
|