llvm.org GIT mirror llvm / 428d601
Add parens to appease GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206678 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 6 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
615615 void ELFObjectWriter::WriteSymbol(SymbolTableWriter &Writer, ELFSymbolData &MSD,
616616 const MCAsmLayout &Layout) {
617617 MCSymbolData &OrigData = *MSD.SymbolData;
618 assert(!OrigData.getFragment() ||
619 (&OrigData.getFragment()->getParent()->getSection() ==
620 &OrigData.getSymbol().getSection()) &&
621 "The symbol's section doesn't match the fragment's symbol");
618 assert((!OrigData.getFragment() ||
619 (&OrigData.getFragment()->getParent()->getSection() ==
620 &OrigData.getSymbol().getSection())) &&
621 "The symbol's section doesn't match the fragment's symbol");
622622 const MCSymbol *Base = getBaseSymbol(Layout, OrigData.getSymbol());
623623
624624 // This has to be in sync with when computeSymbolTable uses SHN_ABS or