MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / foo

Function foo

test/core/test_longjmp_unwind.c:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30volatile void* temp;
31
32__attribute__((noinline)) void foo()
33{
34 temp = alloca(MAJOR);
35 printf("major allocation at: %ld\n", (long)temp);
36 assert(abs(emscripten_stack_get_current() - (long)temp) >= MAJOR);
37 bar();
38}
39
40int main()
41{

Callers 1

mainFunction · 0.70

Calls 4

printfFunction · 0.85
barFunction · 0.70
assertFunction · 0.50
absFunction · 0.50

Tested by

no test coverage detected