forked from OSchip/llvm-project
parent
59d9b4b4bc
commit
0b2d374c01
|
@ -271,9 +271,8 @@ void elf::ObjectFile<ELFT>::initializeSections(
|
|||
switch (Sec.sh_type) {
|
||||
case SHT_GROUP:
|
||||
Sections[I] = &InputSection<ELFT>::Discarded;
|
||||
if (ComdatGroups
|
||||
.insert(
|
||||
CachedHashStringRef(getShtGroupSignature(ObjSections, Sec)))
|
||||
if (ComdatGroups.insert(CachedHashStringRef(
|
||||
getShtGroupSignature(ObjSections, Sec)))
|
||||
.second)
|
||||
continue;
|
||||
for (uint32_t SecIndex : getShtGroupEntries(Sec)) {
|
||||
|
|
Loading…
Reference in New Issue