diff options
author | Fangrui Song <i@maskray.me> | 2022-09-22 10:26:47 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-09-22 10:26:47 -0700 |
commit | c997fe658655b42237f556c11c7f5bc8ec60658b (patch) | |
tree | e785d2984e6df992aaaa9e02964344807410fda2 /clang/lib/Lex/ModuleMap.cpp | |
parent | 6b93f30b1c633b11dceff7080d4035492583ce17 (diff) | |
download | llvm-c997fe658655b42237f556c11c7f5bc8ec60658b.zip llvm-c997fe658655b42237f556c11c7f5bc8ec60658b.tar.gz llvm-c997fe658655b42237f556c11c7f5bc8ec60658b.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions