From 88b9d66d4acbff4b88ec91026b1f7df4de326ec2 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 7 Oct 2016 14:23:28 +0000 Subject: [PATCH] Add () for clarity. NFC. llvm-svn: 283556 --- lld/ELF/InputSection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 36ab5ee69635..f0d978b2beab 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -582,7 +582,7 @@ template void MergeInputSection::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; }