llvm-project/llvm/tools/llvm-objcopy/ELF
George Rimar ade3c70537 [llvm-objcopy] - Simplify `isCompressable` and fix the issue relative.
When --compress-debug-sections is given, llvm-objcopy do not compress
sections that have "ZLIB" header in data. Normally this signature is used
in zlib-gnu compression format. But if zlib-gnu used then the name of the compressed
section should start from .z* (e.g .zdebug_info). If it does not, then it is not
a zlib-gnu format and section should be treated as a normal uncompressed section.

Differential revision: https://reviews.llvm.org/D58908

llvm-svn: 355399
2019-03-05 13:07:43 +00:00
..
ELFObjcopy.cpp [llvm-objcopy] - Simplify `isCompressable` and fix the issue relative. 2019-03-05 13:07:43 +00:00
ELFObjcopy.h [llvm-objcopy][NFC] More error propagation 2019-01-30 14:36:53 +00:00
Object.cpp [llvm-objdump] - Improve the error message for "removing a section that is used by relocation" case. 2019-02-28 08:21:50 +00:00
Object.h [llvm-objcopy] - Check for invalidated relocations when removing a section. 2019-02-27 11:18:27 +00:00