HomePhabricator

[LLD][ELF] - Do not forget to use ch_addralign field after decompressing the…

Description

[LLD][ELF] - Do not forget to use ch_addralign field after decompressing the sections.

LLD did not use ELF::Chdr::ch_addralign for decompressed sections.
This resulted in a broken output.

Fixes https://bugs.llvm.org/show_bug.cgi?id=40482.

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

Details

Committed
grimarApr 22 2019, 6:40 AM
Differential Revision
D60959: [LLD][ELF] - Do not forget to use ch_addralign field after decompressing the sections.
Branches
Unknown
Tags
Unknown