[PATCH] D60959: [LLD][ELF] - Do not forget to use ch_addralign field after decompressing the sections.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 02:15:54 PDT 2019
ruiu added inline comments.
================
Comment at: ELF/InputSection.cpp:256
UncompressedSize = Hdr->ch_size;
+ Alignment = Hdr->ch_addralign;
RawData = RawData.slice(sizeof(*Hdr));
----------------
What is the definition of ch_addralign if it's 0? I wonder if we have to handle 0 as 1.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60959/new/
https://reviews.llvm.org/D60959
More information about the llvm-commits
mailing list