Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: Source/wtf/Assertions.h

Issue 1224553002: win: Let CRASH forcibly crash process after __debugbreak. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Assertions.h
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h
index 74e90515aa6006a5bcc5ed22864316fe42221bd4..edd2aa66d4d9e2fe16b024a82f6599f69d7f1083 100644
--- a/Source/wtf/Assertions.h
+++ b/Source/wtf/Assertions.h
@@ -144,11 +144,7 @@ using WTF::FrameToNameScope;
*/
#ifndef CRASH
#if COMPILER(MSVC)
-#if COMPILER(CLANG)
-#define CRASH() (__debugbreak(), __builtin_unreachable())
-#else
-#define CRASH() __debugbreak()
-#endif
+#define CRASH() (__debugbreak(), IMMEDIATE_CRASH())
#else
#define CRASH() \
(WTFReportBacktrace(), \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698