llvm-project
0341fb63 - [ThinLTO] Avoid creating map entries on lookup (NFCI) (#164873)

Commit
109 days ago
[ThinLTO] Avoid creating map entries on lookup (NFCI) (#164873) We could inadvertently create new entries in the PrevailingModuleForGUID map during lookup, which was always using operator[]. In most cases we will have one for external symbols, but not in cases where the prevailing copy is in a native object. Or if this happened to be looked up for a local. Make the map private and create and use accessors.
Author
Parents
Loading