Loading...
Searching...
No Matches
20#ifndef BEAST_UTILITY_INSTRUMENTATION_H_INCLUDED
21#define BEAST_UTILITY_INSTRUMENTATION_H_INCLUDED
27#error "Antithesis instrumentation requires Debug build"
29#include <antithesis_sdk.h>
34#define ALWAYS(cond, message, ...) assert((message) && (cond))
35#define ALWAYS_OR_UNREACHABLE(cond, message, ...) assert((message) && (cond))
36#define SOMETIMES(cond, message, ...)
37#define REACHABLE(message, ...)
38#define UNREACHABLE(message, ...) assert((message) && false)
41#define XRPL_ASSERT ALWAYS_OR_UNREACHABLE
42#define XRPL_ASSERT_PARTS(cond, function, description, ...) \
43 XRPL_ASSERT(cond, function " : " description)