[all-commits] [llvm/llvm-project] b00c8a: Revert "[ELF] --gc-sections: allow GC on reserved ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Jul 27 16:34:47 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b00c8ab1b915d7f32ad7a60255f33f210e12a3c6
https://github.com/llvm/llvm-project/commit/b00c8ab1b915d7f32ad7a60255f33f210e12a3c6
Author: Fangrui Song <i at maskray.me>
Date: 2021-07-27 (Tue, 27 Jul 2021)
Changed paths:
M lld/ELF/MarkLive.cpp
M lld/test/ELF/gc-sections-group.s
Log Message:
-----------
Revert "[ELF] --gc-sections: allow GC on reserved sections in a group"
clang may place dynamic initializations for explicitly specialized class
template static data members in comdat.
Such in-comdat SHT_INIT_ARRAY was an abuse but we have to work around it for a while.
More information about the All-commits
mailing list