Bitcoin Core 30.99.0
P2P Digital Currency
Functions | Variables
check.cpp File Reference
#include <util/check.h>
#include <bitcoin-build-config.h>
#include <clientversion.h>
#include <tinyformat.h>
#include <cstdio>
#include <cstdlib>
#include <source_location>
#include <string>
#include <string_view>
Include dependency graph for check.cpp:

Go to the source code of this file.

Functions

std::string StrFormatInternalBug (std::string_view msg, const std::source_location &loc)
 
void assertion_fail (const std::source_location &loc, std::string_view assertion)
 Internal helper. More...
 

Variables

bool g_detail_test_only_CheckFailuresAreExceptionsNotAborts {false}
 
std::atomic< bool > g_enable_dynamic_fuzz_determinism {false}
 

Function Documentation

◆ assertion_fail()

void assertion_fail ( const std::source_location &  loc,
std::string_view  assertion 
)

Internal helper.

Definition at line 34 of file check.cpp.

Here is the caller graph for this function:

◆ StrFormatInternalBug()

std::string StrFormatInternalBug ( std::string_view  msg,
const std::source_location &  loc 
)

Definition at line 18 of file check.cpp.

Here is the call graph for this function:

Variable Documentation

◆ g_detail_test_only_CheckFailuresAreExceptionsNotAborts

bool g_detail_test_only_CheckFailuresAreExceptionsNotAborts {false}

Definition at line 32 of file check.cpp.

◆ g_enable_dynamic_fuzz_determinism

std::atomic<bool> g_enable_dynamic_fuzz_determinism {false}

Definition at line 44 of file check.cpp.