mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Save a map lookup. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a0d6b758c
commit
c1233a84b2
@ -1219,9 +1219,11 @@ void ELFObjectWriter::writeObject(MCAssembler &Asm,
|
|||||||
Group->setAlignment(4);
|
Group->setAlignment(4);
|
||||||
Groups.push_back(Group);
|
Groups.push_back(Group);
|
||||||
}
|
}
|
||||||
GroupMembers[SignatureSymbol].push_back(&Section);
|
std::vector<const MCSectionELF *> &Members =
|
||||||
|
GroupMembers[SignatureSymbol];
|
||||||
|
Members.push_back(&Section);
|
||||||
if (RelSection)
|
if (RelSection)
|
||||||
GroupMembers[SignatureSymbol].push_back(RelSection);
|
Members.push_back(RelSection);
|
||||||
}
|
}
|
||||||
|
|
||||||
SectionIndexMap[&Section] = addToSectionTable(&Section);
|
SectionIndexMap[&Section] = addToSectionTable(&Section);
|
||||||
|
Loading…
Reference in New Issue
Block a user