LLVM Begins Landing Support For Zstd Compressed ELF Debug Sections (ELFCOMPRESS_ZSTD)

Written by Michael Larabel in LLVM on 10 September 2022 at 05:11 AM EDT. Add A Comment
LLVM --
Following the news from this summer of Zstd compression being eyed for use within LLVM, the code has begun being merged to allow for Zstd-compressed ELF debug sections as an alternative to the long-used Zlib.

ELFCOMPRESS_ZSTD was recently proposed -- and then successfully added -- to the System V ABI specification. With that toolchain developers have now been working on adding Zstd compression for ELF debug sections to provide better compression in terms of compression/decompression speed and the compression ratio.

As of Friday the work has begun to be merged into LLVM with --compress-debug-sections=zstd support and support for ELFCOMPRESS_ZSTD input.

This blog post by developer Fangrui Song "MaskRay" who has been working on some of these LLVM patches has detailed more of the effort invested this year into ELFCOMPRESS_ZSTD as a superior alternative to Zlib for ELF debug sections.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week