[all-commits] [llvm/llvm-project] bfa423: [lld][ELF] Support for zero flag section groups
Petr Hosek via All-commits
all-commits at lists.llvm.org
Tue Feb 16 14:34:03 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bfa4235e6e92ce2d3df486828ca2b6aef9705c07
https://github.com/llvm/llvm-project/commit/bfa4235e6e92ce2d3df486828ca2b6aef9705c07
Author: Petr Hosek <phosek at google.com>
Date: 2021-02-16 (Tue, 16 Feb 2021)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/test/ELF/gc-sections-group.s
Log Message:
-----------
[lld][ELF] Support for zero flag section groups
This change introduces support for zero flag ELF section groups to lld.
lld already supports COMDAT sections, which in ELF are a special type of
ELF section groups. These are generally useful to enable linker GC where
you want a group of sections to always travel together, that is to be
either retained or discarded as a whole, but without the COMDAT
semantics. Other ELF linkers already support zero flag ELF section
groups and this change helps us reach feature parity.
Differential Revision: https://reviews.llvm.org/D96636
More information about the All-commits
mailing list