[ELF] Switch cNamedSections to SmallVector. NFC

Make it smaller
This commit is contained in:
Fangrui Song 2021-12-30 16:08:26 -08:00
parent 7d659c6ac7
commit ed67d5a03a
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ private:
SmallVector<InputSection *, 0> queue;
// There are normally few input sections whose names are valid C
// identifiers, so we just store a std::vector instead of a multimap.
DenseMap<StringRef, std::vector<InputSectionBase *>> cNamedSections;
// identifiers, so we just store a SmallVector instead of a multimap.
DenseMap<StringRef, SmallVector<InputSectionBase *, 0>> cNamedSections;
};
} // namespace