Clang Compression

ARMclang and IAR support compression in the link phase. Does support similar operations?

IAR compression:
compression with Lempel-Ziv-77 and Packbits algorithms.
(1) packbits - Compresses with the PackBits algorithm. Thismethod generates good results for data with many identicalconsecutive bytes.
(2) lz77 - Compresses with the Lempel-Ziv-77 algorithm.This method handles a larger variety of inputs well, but hasa slightly larger decompressor.

ARMclang compression:
https://software-dl.ti.com/codegen/docs/tiarmclang/compiler_tools_user_guide/compiler_manual/linker_description/08_using_linker_generated_copy_tables/compression-stdz0754720.html

Thanks!

this is a good question!

This is a linker feature. I don’t think lld currently supports anything like this, if that’s what you’re asking.