diff options
author | Fangrui Song <i@maskray.me> | 2024-03-13 10:13:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 10:13:21 -0700 |
commit | 122d368b2b120ff233e66658862b90f185f65c6e (patch) | |
tree | 18dac4529daa973271b30a97f19913cf08e3729f /clang/lib/Basic/Module.cpp | |
parent | 79cd2c0bb9acb4685094d6b3bf21c758aa51d3df (diff) | |
download | llvm-122d368b2b120ff233e66658862b90f185f65c6e.zip llvm-122d368b2b120ff233e66658862b90f185f65c6e.tar.gz llvm-122d368b2b120ff233e66658862b90f185f65c6e.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions