[llvm] Support decompressing the SHT_LLVM_BB_ADDR_MAP section. (PR #142825)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 15:02:58 PDT 2025


rlavaee wrote:

> The premerge failures look relevant:
> 
> ```
> zstd::compress is unavailable
> ```
Thanks. Moved to the new test tagged with `# REQUIRES: zstd`.
> 
> Seems like this needs to be gated on having zstd support built into LLVM.
> 
> Also, what's the plan for compressing the section? Is there an `lld` flag that does that or something?
Yes. It's as simple as `-Wl,--compress-sections=.llvm_bb_addr_map=zstd`



https://github.com/llvm/llvm-project/pull/142825


More information about the llvm-commits mailing list