1 // Copyright Antony Polukhin, 2016-2020.
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
10 #include <boost/config.hpp>
12 #include <sys/types.h>
17 #ifdef BOOST_STACKTRACE_ADDR2LINE_LOCATION
18 std::string s
= BOOST_STRINGIZE( BOOST_STACKTRACE_ADDR2LINE_LOCATION
);
21 std::string s
= "/usr/bin/addr2line -h";
24 return std::system(s
.c_str());