summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Program.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
commit9801b253ad3be9d9151e78e738115fa7725db7ff (patch)
tree40c20e00bcd7930f74093dce2a82fbea5396516b /llvm/lib/Support/Program.cpp
parent577508df831184a5123aaa6a6cb510becdcd3440 (diff)
downloadbcm5719-llvm-9801b253ad3be9d9151e78e738115fa7725db7ff.tar.gz
bcm5719-llvm-9801b253ad3be9d9151e78e738115fa7725db7ff.zip
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> llvm-svn: 211330
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud