Index: lld/wasm/SymbolTable.cpp =================================================================== --- lld/wasm/SymbolTable.cpp +++ lld/wasm/SymbolTable.cpp @@ -14,8 +14,7 @@ #include "WriterUtils.h" #include "lld/Common/ErrorHandler.h" #include "lld/Common/Memory.h" - -#include +#include "llvm/ADT/SetVector.h" #define DEBUG_TYPE "lld" @@ -35,7 +34,7 @@ } void SymbolTable::reportRemainingUndefines() { - std::unordered_set Undefs; + SetVector Undefs; for (Symbol *Sym : SymVector) { if (Sym->isUndefined() && !Sym->isWeak() && Config->AllowUndefinedSymbols.count(Sym->getName()) == 0) {