Index: third_party/WebKit/Source/wtf/Assertions.h |
diff --git a/third_party/WebKit/Source/wtf/Assertions.h b/third_party/WebKit/Source/wtf/Assertions.h |
index 750ee7e3c975f9a027b64fe41070093370714ea1..5e2b437a3bf52909f70c15cf5b33d047c7fa3d91 100644 |
--- a/third_party/WebKit/Source/wtf/Assertions.h |
+++ b/third_party/WebKit/Source/wtf/Assertions.h |
@@ -263,6 +263,8 @@ private: |
// RELEASE_ASSERT is deprecated. We should use CHECK() instead. |
#if ENABLE(ASSERT) |
#define RELEASE_ASSERT(assertion) ASSERT(assertion) |
+#elif defined(ADDRESS_SANITIZER) |
+#define RELEASE_ASSERT(condition) LOG_IF(FATAL, !(condition)) << "Release assert failed: " #condition ". " |
tkent
2016/08/25 12:54:06
We deprecated RELEASE_ASSERT(), and are replacing
mmoroz
2016/08/25 13:13:45
Good point! +1 to replace 'Release assert' -> 'Sec
mmoroz
2016/08/25 13:39:50
Hm, on ClusterFuzz side we mark 'Security CHECK fa
|
#else |
#define RELEASE_ASSERT(assertion) (UNLIKELY(!(assertion)) ? (IMMEDIATE_CRASH()) : (void)0) |
#endif |