Hello everyone, following patches add support for XZ-compressed symbol tables, also known as MiniDebugInfo.
In short, MiniDebugInfo-containing binary is created by taking separate debuginfo ELF containing only the symbol table, compressing it with XZ and stuffing it into the .gnu_debugdata section of the binary. This feature will be used in next Fedora release and ABRT (among others), which is planned to be based on libunwind by then, would like to take advantage of it. Some more background can be found here [1].
Please review, I'll be happy to modify the patches according to your suggestions.
Thanks, Martin
[1] http://fedoraproject.org/wiki/Features/MiniDebugInfo [2] https://github.com/b42/libunwind/tree/minidebuginfo
* * *
Martin Milata (5): Make coredump test also test unw_get_proc_name Add liblzma detection to configure script MiniDebugInfo test: tests/run-coredump-unwind-mdi Refactor parts of elfxx.c to allow reusing code Search MiniDebugInfo for procedure names
configure.in | 16 +++ src/Makefile.am | 3 + src/elfxx.c | 279 ++++++++++++++++++++++++++++++++++------- tests/Makefile.am | 7 +- tests/run-coredump-unwind | 47 ++++++- tests/run-coredump-unwind-mdi | 8 ++ tests/test-coredump-unwind.c | 20 +++ 7 files changed, 326 insertions(+), 54 deletions(-) create mode 100755 tests/run-coredump-unwind-mdi