Loading...
Searching...
No Matches
1#ifndef BEAST_UTILITY_INSTRUMENTATION_H_INCLUDED
2#define BEAST_UTILITY_INSTRUMENTATION_H_INCLUDED
8#error "Antithesis instrumentation requires Debug build"
10#include <antithesis_sdk.h>
15#define ALWAYS(cond, message, ...) assert((message) && (cond))
16#define ALWAYS_OR_UNREACHABLE(cond, message, ...) assert((message) && (cond))
17#define SOMETIMES(cond, message, ...)
18#define REACHABLE(message, ...)
19#define UNREACHABLE(message, ...) assert((message) && false)
22#define XRPL_ASSERT ALWAYS_OR_UNREACHABLE
23#define XRPL_ASSERT_PARTS(cond, function, description, ...) \
24 XRPL_ASSERT(cond, function " : " description)