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

RFE: support compressed symbol tables in .gnu_debugdata #430

Open
cuviper opened this issue Jun 18, 2021 · 3 comments
Open

RFE: support compressed symbol tables in .gnu_debugdata #430

cuviper opened this issue Jun 18, 2021 · 3 comments

Comments

@cuviper
Copy link
Member

cuviper commented Jun 18, 2021

(from #410 (comment))

It would be really nice to see support for .gnu_debugdata, which contains compressed symbol tables. For example, the elfutils command eu-readelf --elf-section -s file... can read this.

https://fedoraproject.org/wiki/Features/MiniDebugInfo
https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html

@philipc
Copy link
Contributor

philipc commented Jun 18, 2021

This will need an LZMA decoder, probably the xz2 crate? Should this be a new cargo feature, or enabled for all linux systems?

@cuviper
Copy link
Member Author

cuviper commented Jun 18, 2021

Ah, I suppose that's non-trivial, and probably rules out my hope of getting this into std's own backtracing. But for general use, a new cargo feature sounds reasonable to me.

@workingjubilee
Copy link
Member

workingjubilee commented Jun 26, 2023

Adding this as a new feature-flagged item sounds plausible. We have discussed enabling compression for related stuff in std where we have linker/OS support for it, at least.

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

3 participants