| 52 | } |
| 53 | |
| 54 | BOOST_ST_API BOOST_NOINLINE boost::stacktrace::stacktrace make_some_stacktrace2_impl(int d = 0) { |
| 55 | boost::stacktrace::stacktrace result(0, 4); |
| 56 | if (result.size() < 4) { |
| 57 | if (d > 4) throw std::runtime_error("Stack is not growing in test OR stacktrace fails to work in `bar2` function."); |
| 58 | return make_some_stacktrace2_impl(d + 1); |
| 59 | } |
| 60 | return result; |
| 61 | } |
| 62 | |
| 63 | BOOST_ST_API BOOST_NOINLINE boost::stacktrace::stacktrace make_some_stacktrace1() { |
| 64 | boost::stacktrace::stacktrace result = make_some_stacktrace1_impl(); |
nothing calls this directly
no outgoing calls
no test coverage detected