summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkungasc <[email protected]>2024-04-16 21:36:42 +0300
committerkungasc <[email protected]>2024-04-16 21:48:32 +0300
commitf8eaebae946ddd400311b072bc5d2599db5ada14 (patch)
tree34b8254e6259c133785913687ea34fe025d5a02b
parent3ea83364cefbeccd47cda1bc6ea58966cd308c94 (diff)
Add Y_DEBUG_ABORT macros
Relates to https://github.com/ydb-platform/ydb/pull/3684 86761f5a71a48625f1e0644c483825e25ba290ed
-rw-r--r--util/system/yassert.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/system/yassert.h b/util/system/yassert.h
index 8fb5b6bd82a..4e2e72e22f1 100644
--- a/util/system/yassert.h
+++ b/util/system/yassert.h
@@ -102,3 +102,4 @@ namespace NPrivate {
} while (false)
#endif
#define Y_ASSERT(a) Y_DEBUG_ABORT_UNLESS(a)
+#define Y_DEBUG_ABORT(...) Y_DEBUG_ABORT_UNLESS(false, __VA_ARGS__)