summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-06-20 00:24:56 +0000
committerBen Langmuir <blangmuir@apple.com>2014-06-20 00:24:56 +0000
commitff6e3ae78538bf28671496dca103e93d9b32ac80 (patch)
tree433a05829fbfea398714c9781d5af071840f03ce /lib/CodeGen/CGExpr.cpp
parent02a13f7337230481e2e972d6a8d87b0a31536d30 (diff)
downloadclang-ff6e3ae78538bf28671496dca103e93d9b32ac80.tar.gz
clang-ff6e3ae78538bf28671496dca103e93d9b32ac80.tar.bz2
clang-ff6e3ae78538bf28671496dca103e93d9b32ac80.tar.xz
Avoid invalidating successfully loaded module files
Successfully loaded module files may be referenced in other ModuleManagers, so don't invalidate them. Two related things are fixed: 1) I thought the last module in the manager was always the one that failed, but it isn't. So check explicitly against the list of vetted modules from ReadASTCore. 2) We now keep the file descriptor of pcm file open, which avoids the possibility of having two different pcms for the same module loaded when building in parallel with headers being modified during a build. <rdar://problem/16835846> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions