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

Method source_line

include/boost/stacktrace/detail/addr2line_impls.hpp:284–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284std::size_t frame::source_line() const {
285 std::size_t line_num = boost::stacktrace::detail::source_line(addr_, false);
286 if (line_num == 0) {
287 line_num = boost::stacktrace::detail::source_line(addr_, true);
288 }
289
290 return line_num;
291}
292
293
294}} // namespace boost::stacktrace

Callers 3

test_frameFunction · 0.45
test_empty_frameFunction · 0.45
mainFunction · 0.45

Calls 1

source_lineFunction · 0.85

Tested by 2

test_frameFunction · 0.36
test_empty_frameFunction · 0.36