MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / ForcedAssert

Function ForcedAssert

FEXCore/Source/Utils/ForcedAssert.cpp:4–11  ·  view source on GitHub ↗

This function can not be inlined

Source from the content-addressed store, hash-verified

2namespace FEXCore::Assert {
3// This function can not be inlined
4[[noreturn]]
5__attribute__((noinline, naked)) void ForcedAssert() {
6#ifdef _M_X86_64
7 asm volatile("ud2");
8#else
9 asm volatile("hlt #1");
10#endif
11}
12} // namespace FEXCore::Assert

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected