Index: COFF/SymbolTable.h =================================================================== --- COFF/SymbolTable.h +++ COFF/SymbolTable.h @@ -11,8 +11,9 @@ #define LLD_COFF_SYMBOL_TABLE_H #include "InputFiles.h" +#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/DenseMapInfo.h" #include "llvm/Support/Allocator.h" -#include namespace llvm { struct LTOCodeGenerator; @@ -86,7 +87,7 @@ std::error_code addMemberFile(Lazy *Body); ErrorOr createLTOObject(llvm::LTOCodeGenerator *CG); - std::unordered_map Symtab; + llvm::DenseMap Symtab; std::vector> Files; size_t FileIdx = 0; std::vector ArchiveFiles;