| 43 | } |
| 44 | |
| 45 | BOOST_ST_API BOOST_NOINLINE boost::stacktrace::stacktrace make_some_stacktrace1_impl(int d = 0) { |
| 46 | boost::stacktrace::stacktrace result(0, 4); |
| 47 | if (result.size() < 4) { |
| 48 | if (d > 4) throw std::runtime_error("Stack is not growing in test OR stacktrace fails to work in `bar1` function."); |
| 49 | return make_some_stacktrace1_impl(d + 1); |
| 50 | } |
| 51 | return result; |
| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected