forked from OSchip/llvm-project
[ELF] Use MapVector.
Order is still deterministic and we dont need a sorted order. llvm-svn: 232863
This commit is contained in:
parent
208ac3d6e5
commit
1f869d0e1a
|
@ -11,6 +11,7 @@
|
|||
#define LLD_READER_WRITER_ELF_FILE_H
|
||||
|
||||
#include "Atoms.h"
|
||||
#include <llvm/ADT/MapVector.h>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
|
||||
|
@ -408,7 +409,7 @@ protected:
|
|||
|
||||
/// \brief the section and the symbols that are contained within it to create
|
||||
/// used to create atoms
|
||||
std::map<const Elf_Shdr *, std::vector<Elf_Sym_Iter>> _sectionSymbols;
|
||||
llvm::MapVector<const Elf_Shdr *, std::vector<Elf_Sym_Iter>> _sectionSymbols;
|
||||
|
||||
/// \brief Sections that have merge string property
|
||||
std::vector<const Elf_Shdr *> _mergeStringSections;
|
||||
|
|
Loading…
Reference in New Issue