[PATCH] D31226: IR: Fix a race condition in type id clients of ModuleSummaryIndex.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 18:19:24 PDT 2017


pcc added inline comments.


================
Comment at: llvm/include/llvm/IR/ModuleSummaryIndex.h:530
   std::map<std::string, TypeIdSummary> TypeIdMap;
+  TypeIdSummary DefaultInitTypeIdSummary;
 
----------------
mehdi_amini wrote:
> Document.
> 
> Also, it seems unusual to do this, I don't think I saw this in the past.
Removed


https://reviews.llvm.org/D31226





More information about the llvm-commits mailing list