From 1f869d0e1a90f5a4717ded890396a66d4dc5923f Mon Sep 17 00:00:00 2001 From: Shankar Easwaran Date: Fri, 20 Mar 2015 23:46:58 +0000 Subject: [PATCH] [ELF] Use MapVector. Order is still deterministic and we dont need a sorted order. llvm-svn: 232863 --- lld/lib/ReaderWriter/ELF/ELFFile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lld/lib/ReaderWriter/ELF/ELFFile.h b/lld/lib/ReaderWriter/ELF/ELFFile.h index bd4fa83..11f4ee4 100644 --- a/lld/lib/ReaderWriter/ELF/ELFFile.h +++ b/lld/lib/ReaderWriter/ELF/ELFFile.h @@ -11,6 +11,7 @@ #define LLD_READER_WRITER_ELF_FILE_H #include "Atoms.h" +#include #include #include @@ -408,7 +409,7 @@ protected: /// \brief the section and the symbols that are contained within it to create /// used to create atoms - std::map> _sectionSymbols; + llvm::MapVector> _sectionSymbols; /// \brief Sections that have merge string property std::vector _mergeStringSections; -- 2.7.4