forked from OSchip/llvm-project
parent
f74fc60a7d
commit
88b9d66d4a
|
@ -582,7 +582,7 @@ template <class ELFT> void MergeInputSection<ELFT>::splitIntoPieces() {
|
|||
else
|
||||
this->Pieces = splitNonStrings(Data, EntSize);
|
||||
|
||||
if (Config->GcSections && this->getSectionHdr()->sh_flags & SHF_ALLOC)
|
||||
if (Config->GcSections && (this->getSectionHdr()->sh_flags & SHF_ALLOC))
|
||||
for (uintX_t Off : LiveOffsets)
|
||||
this->getSectionPiece(Off)->Live = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue