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

Function bar

example/assert_handler.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

fooFunction · 0.70

Calls 1

fooFunction · 0.70

Tested by

no test coverage detected