Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ CppiaTrap
Function
CppiaTrap
src/hx/cppia/Cppia.cpp:47–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
#endif
46
47
void CppiaTrap( )
48
{
49
// Good when using gdb, and to collect a core ...
50
#if __has_builtin(__builtin_trap)
51
__builtin_trap();
52
#else
53
(* (int *) 0) = 0;
54
#endif
55
}
56
57
58
Callers
2
genCode
Method · 0.85
genCode
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected