llvm-project/llvm/test/tools/llvm-objcopy
Fangrui Song c997fe6586 [llvm-objcopy] --compress-debug-sections: remove tail padding for ELFCLASS32
For an ELFCLASS32 object, a compressed section due to --compress-debug-sections={zlib,zstd} has a
tail padding of 12 zero bytes. zlib happily allows this while zstd is rigid and
reports `error: '{{.*}}': failed to decompress section '.debug_foo': Src size is incorrect`.

Cole Kissane reported the problem.

Reviewed By: jhenderson, phosek

Differential Revision: https://reviews.llvm.org/D134385
2022-09-22 10:26:47 -07:00
..
COFF [llvm-objcopy] Make llvm-strip --only-keep-debug suppress default --strip-all 2022-04-18 14:16:10 -07:00
ELF [llvm-objcopy] --compress-debug-sections: remove tail padding for ELFCLASS32 2022-09-22 10:26:47 -07:00
Inputs
MachO [llvm-objcopy][MachO] Remove more sections with llvm-bitcode-strip 2022-08-22 16:08:58 -07:00
XCOFF [llvm-objcopy] Initial XCOFF32 support. 2022-02-28 04:59:46 -05:00
wasm [WebAssembly][Objcopy] Check that --only-keep-debug removes known sections 2022-06-07 16:47:50 -07:00
dash-dash.test
grouped-options.test
redefine-symbols.test
tool-help-message.test [OptTable] Reapply Improve error message output for grouped short options 2021-09-03 11:13:52 +01:00
tool-name.test
tool-version.test