[all-commits] [llvm/llvm-project] b6e4aa: [ELF] --gc-sections: retain dependent sections of ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Oct 21 10:11:47 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b6e4aae2cc269bbdce9263cd49dcd582840b333a
https://github.com/llvm/llvm-project/commit/b6e4aae2cc269bbdce9263cd49dcd582840b333a
Author: Fangrui Song <i at maskray.me>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M lld/ELF/MarkLive.cpp
M lld/test/ELF/gc-sections-linkorder2.s
Log Message:
-----------
[ELF] --gc-sections: retain dependent sections of non-SHF_ALLOC sections
Fix http://lists.llvm.org/pipermail/llvm-dev/2020-October/145908.html
Currently non-SHF_ALLOC SHT_REL[A] (due to --emit-relocs) and SHF_LINK_ORDER are not
marked live.
Reviewed By: grimar, psmith
Differential Revision: https://reviews.llvm.org/D89841
More information about the All-commits
mailing list