[all-commits] [llvm/llvm-project] 873f7e: [BOLT] Support SHF_COMPRESSED DWARF debug sections...
AJMullen via All-commits
all-commits at lists.llvm.org
Fri Oct 2 05:04:55 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 873f7ef7077fd5f3f6710a1dcb9a3371bd73124a
https://github.com/llvm/llvm-project/commit/873f7ef7077fd5f3f6710a1dcb9a3371bd73124a
Author: AJMullen <andreas.mullen at arm.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/AArch64/compressed-debug-sections.test
A bolt/test/AArch64/zlib-compressed-debug-sections.s
A bolt/test/AArch64/zstd-compressed-debug-sections.s
M bolt/test/CMakeLists.txt
M bolt/test/lit.site.cfg.py.in
Log Message:
-----------
[BOLT] Support SHF_COMPRESSED DWARF debug sections. (#215835)
**Before:** BOLT will report an error when `--update-debug-sections` is
enabled and the input contains a `SHF_COMPRESSED` debug section, stating
that "`--update-debug-sections` requires uncompressed debug
information". This was implemented in #185662.
**After:** This patch follows up on this PR and adds support for
`SHF_COMPRESSED` debug information. BOLT now can decompress `zlib` /
`zstd` compressed debug information, update them and then recompress
with their original compression. This patch also validates compressed
debug sections, reporting an error if applicable. As mentioned in
#185662, legacy GNU-style compression is not handled.
Assisted-by: Codex
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list