[PATCH] D121006: Speedup dsymutil when working with big project.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 12:35:01 PST 2022


lebedev.ri added inline comments.


================
Comment at: llvm/tools/dsymutil/MachODebugMapParser.cpp:58
+  /// `getMainBinarySymbolNames`;
+  std::unordered_map<uint64_t, std::vector<StringRef>>
+      MainBinaryAddresses2NamesMap;
----------------
`std::unordered_map` has bad performance characteristics.
Does it help if this is instead a SmallDenseMap of SmallVector's? 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121006/new/

https://reviews.llvm.org/D121006



More information about the llvm-commits mailing list