| 224 | } |
| 225 | |
| 226 | inline std::string name_impl(const void* addr) { |
| 227 | std::string res = boost::stacktrace::detail::name(addr, false); |
| 228 | if (res.empty()) { |
| 229 | res = boost::stacktrace::detail::name(addr, true); |
| 230 | } |
| 231 | |
| 232 | return res; |
| 233 | } |
| 234 | |
| 235 | inline std::string source_file(const void* addr, bool position_independent) { |
| 236 | std::string res; |