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

Method stacktrace rec1

example/trace_addresses.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39BOOST_NOINLINE boost::stacktrace::stacktrace rec2(int i);
40
41BOOST_NOINLINE boost::stacktrace::stacktrace rec1(int i) {
42 if (i < 5) {
43 if (!i) return boost::stacktrace::stacktrace();
44 return rec2(--i);
45 }
46
47 return rec2(i - 2);
48}
49
50BOOST_NOINLINE boost::stacktrace::stacktrace rec2(int i) {
51 if (i < 5) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected