[PATCH] D32631: Speed up the -Map option.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 20:56:10 PDT 2017


ruiu added inline comments.


================
Comment at: lld/ELF/MapFile.cpp:50
+  // Maps sections to their symbols.
+  DenseMap<const SectionBase *, std::vector<SymbolBody *>> Symbols;
+
----------------
dberris wrote:
> No `SmallVector<...>` ?
Does it make any noticeable difference? I usually use data structures in the standard library unless that is not appropriate because most people are more familiar with std::* than llvm:*.


https://reviews.llvm.org/D32631





More information about the llvm-commits mailing list