[PATCH] D48783: [ThinLTO] Use std::map for import lists to get determistic imports files

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 13:05:43 PDT 2018


steven_wu added a comment.

Does the iteration order of those map matters other than changing the hash? Will it change symbol resolution or importing different function?

The other option is MapVector, which preserve the insertion order, which might be faster than std::map.


Repository:
  rL LLVM

https://reviews.llvm.org/D48783





More information about the llvm-commits mailing list