Skip to content

Please backport r358885 to 8.0 #40925

@llvmbot

Description

@llvmbot
Bugzilla Link 41580
Resolution FIXED
Resolved on Apr 25, 2019 10:43
Version trunk
OS Windows NT
Blocks #40566
Reporter LLVM Bugzilla Contributor
CC @tstellar
Fixed by commit(s) r358885 r359209

Extended Description

Please backport the following commit to fix creation of
broken debug information by LLD when the latest gcc is used

Revision: 358885
Author: grimar
Date: 22 апреля 2019 г. 16:40:42
Message:
[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 #39828 .

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

Modified : /lld/trunk/ELF/InputSection.cpp
Added : /lld/trunk/test/ELF/compressed-input-alignment.test

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzilla

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions