Add a const version of the getTypeIdSummary accessor that avoids
mutating the TypeIdMap.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4950 Build 4950: arc lint + arc unit
Paths
| Differential D31226
IR: Fix a race condition in type id clients of ModuleSummaryIndex. ClosedPublic Authored by pcc on Mar 21 2017, 5:36 PM.
Details Summary Add a const version of the getTypeIdSummary accessor that avoids
Diff Detail
Event Timelinepcc marked an inline comment as done. Comment Actions
pcc added a child revision: D31230: IPO: Const correctness for summaries passed into passes..Mar 21 2017, 6:27 PM This revision is now accepted and ready to land.Mar 21 2017, 7:59 PM Closed by commit rL298531: IR: Fix a race condition in type id clients of ModuleSummaryIndex. (authored by pcc). · Explain WhyMar 22 2017, 11:16 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 92576 llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/Transforms/IPO/LowerTypeTests.cpp
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
|
Document.
Also, it seems unusual to do this, I don't think I saw this in the past.