Some more tweaks of the libbacktrace zstd decompressor to make
decompressing slightly faster: unpack all the literal data into the
output buffer, rather than using scratch space. Bootstrapped and ran
libbacktrace tests on x86_64-pc-linux-gnu. Committed to mainline.
Ian
* elf.c (elf_fetch_backwa
On Wed, Dec 7, 2022 at 4:22 PM Ian Lance Taylor wrote:
>
> This patch adds zstd support to libbacktrace, to support the new
> linker option --compress-debug-sections=zstd.
This patch rewrites and simplifies the main zstd decompression loop
using some ideas from the reference implementation. This
This patch adds zstd support to libbacktrace, to support the new
linker option --compress-debug-sections=zstd.
The zstd format is fairly complicated, so it's likely that there are
some bugs here. It does pass the tests, at least.
Unfortunately this decompressor only runs at about 1/3 the speed t