Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How could we show line number on mac OS? #68

Open
wind2412 opened this issue Jan 1, 2019 · 3 comments
Open

How could we show line number on mac OS? #68

wind2412 opened this issue Jan 1, 2019 · 3 comments

Comments

@wind2412
Copy link

wind2412 commented Jan 1, 2019

We don't have addr2line on macos. I wonder how we can get line information use our macro configuration. I used brew to install boost, and the version is 1.69.0.

After boost::stacktrace::stacktrace(), I only get this output:

 0# run() in /Users/xxx/Desktop/./bin/test
 1# main in /Users/xxx/Desktop/./bin/test

Thanks in advance :)

@ivanarh
Copy link
Contributor

ivanarh commented Jan 10, 2019

atos may help
https://www.unix.com/man-page/osx/1/atos/

@narodnik
Copy link

See also #97 we get on linux too

@spinicist
Copy link

Hello, did anyone manage to resolve this? Address Sanitizer on Mac manages to get line numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants