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

Optional fall back to LLVM symbolizer markup #485

Open
mysterymath opened this issue Oct 4, 2022 · 1 comment
Open

Optional fall back to LLVM symbolizer markup #485

mysterymath opened this issue Oct 4, 2022 · 1 comment

Comments

@mysterymath
Copy link

Now that Symbolizer Markup has landed in LLVM 15.0.2, it would be possible to add an option to emit this markup whenever symbol information is unavailable (fully-stripped binaries, etc.).

Producing symbolizer markup would allow llvm-symbolizer to produce human-readable backtraces from it after the fact, looking up the necessary artifacts using debuginfod. This complements #459; since it would be nice to have debuginfod lookups handled transparently, but that's not always possible (e.g., for embedded or sandboxed environments).

This should be relatively straightforward to implement, since the format is just a simple textual representation of the memory layout of the process and the return addresses of the backtrace.

@workingjubilee
Copy link
Contributor

It's not clear to me from a quick scan of those docs whether this needs to be implemented in this crate, but given a PR that adds some appropriately factored API I am not sure why we would not.

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

No branches or pull requests

2 participants