[llvm] [llvm] Replace unordered_{map,set} with Dense{Map,Set}/SmallPtrSet (PR #202222)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 12 02:13:04 PDT 2026
================
@@ -2235,7 +2235,7 @@ Error Object::removeSections(
// Now make sure there are no remaining references to the sections that will
// be removed. Sometimes it is impossible to remove a reference so we emit
// an error here instead.
- std::unordered_set<const SectionBase *> RemoveSections;
+ SmallPtrSet<const SectionBase *, 0> RemoveSections;
----------------
aengelke wrote:
use some relaistic value like 4 or 8 here?
https://github.com/llvm/llvm-project/pull/202222
More information about the llvm-commits
mailing list