Loading...
Searching...
No Matches
7#error "Antithesis instrumentation requires Debug build"
9#include <antithesis_sdk.h>
16#define ALWAYS(cond, message, ...) assert((message) && (cond))
17#define ALWAYS_OR_UNREACHABLE(cond, message) assert((message) && (cond))
18#define SOMETIMES(cond, message, ...)
19#define REACHABLE(message, ...)
20#define UNREACHABLE(message, ...) assert((message) && false)
23#define XRPL_ASSERT ALWAYS_OR_UNREACHABLE
24#define XRPL_ASSERT_PARTS(cond, function, description, ...) \
25 XRPL_ASSERT(cond, function " : " description)
27#define XRPL_ASSERT_IF(guard, cond, message) XRPL_ASSERT(!(guard) || (cond), message)