This is an archive of the discontinued LLVM Phabricator instance.

[Modules] Fallback to building the module if a timeout occurs
ClosedPublic

Authored by bruno on Jan 22 2017, 7:31 PM.

Details

Summary

After https://reviews.llvm.org/D28299 gets in, clang will use PCMCache to manage memory buffers for pcm files. This means the lock file manager isn't needed for correctness anymore, but only as an optimization: clang waits for other processes to finish up building a module if they are already doing it.

Emit remark instead of errors to notify users when a timeout occures and actually build the module in case that happens.

Diff Detail

Event Timeline

bruno created this revision.Jan 22 2017, 7:31 PM
bruno accepted this revision.Apr 13 2017, 11:51 AM
This revision is now accepted and ready to land.Apr 13 2017, 11:51 AM
bruno closed this revision.Apr 13 2017, 11:52 AM

Updating: already done in r298175