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

Method stacktrace rec2

example/trace_addresses.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50BOOST_NOINLINE boost::stacktrace::stacktrace rec2(int i) {
51 if (i < 5) {
52 if (!i) return boost::stacktrace::stacktrace();
53 return rec2(--i);
54 }
55
56 return rec2(i - 2);
57}
58
59int main() {
60 dump_compact(rec1(8));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected