[all-commits] [llvm/llvm-project] 122d36: [llvm-objcopy] --[de]compress-debug-sections: don'...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Mar 13 10:13:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 122d368b2b120ff233e66658862b90f185f65c6e
https://github.com/llvm/llvm-project/commit/122d368b2b120ff233e66658862b90f185f65c6e
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
A llvm/test/tools/llvm-objcopy/ELF/decompress-sections.test
Log Message:
-----------
[llvm-objcopy] --[de]compress-debug-sections: don't compress SHF_ALLOC sections, only decompress .debug sections
Simplify --[de]compress-debug-sections to make it easier to add custom section [de]compression.
Change the following two behaviors to match GNU objcopy.
* --compress-debug-sections compresses SHF_ALLOC sections while GNU
doesn't.
* --decompress-debug-sections decompresses non-debug sections while GNU
doesn't.
Pull Request: https://github.com/llvm/llvm-project/pull/84885
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