commit | 49df1485343b77f8440eb64b941398b4d967d529 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed Mar 22 18:04:39 2017 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Wed Mar 22 18:04:39 2017 +0000 |
tree | 097883f3d1fdead7d65047c14d9ea38aaa57dc34 | |
parent | fbf2dadfa544489652c4a993cc48d8910f017ecd [diff] |
IR: Fix a race condition in type id clients of ModuleSummaryIndex. Add a const version of the getTypeIdSummary accessor that avoids mutating the TypeIdMap. Differential Revision: https://reviews.llvm.org/D31226 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298531 91177308-0d34-0410-b5e6-96231b3b80d8