MCPcopy Create free account
hub / github.com/boostorg/stacktrace / bar

Function bar

example/terminate_handler.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9BOOST_NOINLINE void bar(int i);
10
11BOOST_NOINLINE void bar(int i) {
12 boost::array<int, 5> a = {{-1, -231, -123, -23, -32}};
13 if (i >= 0) {
14 foo(a[i]);
15 } else {
16 std::terminate();
17 }
18}
19
20BOOST_NOINLINE void foo(int i) {
21 bar(--i);

Callers 1

fooFunction · 0.70

Calls 1

fooFunction · 0.70

Tested by

no test coverage detected