File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1075,7 +1075,7 @@ uint64_t ELFWriter::writeObject(MCAssembler &Asm) {
1075
1075
RevGroupMapTy RevGroupMap;
1076
1076
SectionIndexMapTy SectionIndexMap;
1077
1077
1078
- std::map <const MCSymbol *, std::vector <const MCSectionELF *>> GroupMembers;
1078
+ DenseMap <const MCSymbol *, SmallVector <const MCSectionELF *, 0 >> GroupMembers;
1079
1079
1080
1080
// Write out the ELF header ...
1081
1081
writeHeader (Asm);
@@ -1111,7 +1111,7 @@ uint64_t ELFWriter::writeObject(MCAssembler &Asm) {
1111
1111
Group->setAlignment (Align (4 ));
1112
1112
Groups.push_back (Group);
1113
1113
}
1114
- std::vector <const MCSectionELF *> &Members =
1114
+ SmallVector <const MCSectionELF *, 0 > &Members =
1115
1115
GroupMembers[SignatureSymbol];
1116
1116
Members.push_back (&Section);
1117
1117
if (RelSection)
You can’t perform that action at this time.
0 commit comments