[PATCH] D153486: [llvm-profdata] GUIDToFuncNameMap can be static

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 16:25:11 PDT 2023


davidxl added a comment.

We should consider having singleton instance and use LLVM's synchronization support to guard updating. Assuming updating the map is rare so the contention should have low runtime impact.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153486



More information about the llvm-commits mailing list