diff options
Diffstat (limited to 'lld/COFF/DriverUtils.cpp')
-rw-r--r-- | lld/COFF/DriverUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/DriverUtils.cpp b/lld/COFF/DriverUtils.cpp index c03b9727457..64856999902 100644 --- a/lld/COFF/DriverUtils.cpp +++ b/lld/COFF/DriverUtils.cpp @@ -594,7 +594,7 @@ void fixupExports() { } // Uniquefy by name. - std::map<StringRef, Export *> Map; + DenseMap<StringRef, Export *> Map(Config->Exports.size()); std::vector<Export> V; for (Export &E : Config->Exports) { auto Pair = Map.insert(std::make_pair(E.ExportName, &E)); |