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

Method source_file

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

Source from the content-addressed store, hash-verified

273
274
275std::string frame::source_file() const {
276 std::string res = boost::stacktrace::detail::source_file(addr_, false);
277 if (res.empty()) {
278 res = boost::stacktrace::detail::source_file(addr_, true);
279 }
280
281 return res;
282}
283
284std::size_t frame::source_line() const {
285 std::size_t line_num = boost::stacktrace::detail::source_line(addr_, false);

Callers 3

test_frameFunction · 0.45
test_empty_frameFunction · 0.45

Calls 2

source_fileFunction · 0.85
emptyMethod · 0.45

Tested by 3

test_frameFunction · 0.36
test_empty_frameFunction · 0.36