[all-commits] [llvm/llvm-project] b8a3c6: [ELF] Allow misaligned SHT_GNU_verneed
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue May 26 11:18:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b8a3c618d6c5df081cad69b5ffb386a7a7b0361f
https://github.com/llvm/llvm-project/commit/b8a3c618d6c5df081cad69b5ffb386a7a7b0361f
Author: Fangrui Song <maskray at google.com>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M lld/ELF/InputFiles.cpp
A lld/test/ELF/invalid/verneed-shared.test
R lld/test/ELF/invalid/verneed-shared.yaml
Log Message:
-----------
[ELF] Allow misaligned SHT_GNU_verneed
Bazel created interface shared objects (.ifso) may be misaligned. We use
llvm::support::detail::packed_endian_specific_integral under the hood
which allows reading of misaligned values, so there is not a need to
diagnose (in LLD we don't intend to support sophisticated parsing for
SHT_GNU_*).
More information about the All-commits
mailing list