[PATCH] D47460: Treat files as volatile by default

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 29 02:06:34 PDT 2018


yvvan added a comment.

The precise path which leads here is yet unclear for me (it requires much more time to research) but changing this specific default value to true fixes main file from being memory mapped and therefore being blocked (on Windows)
I assume it comes from FileManager::getBufferForFile(StringRef Filename) but not sure about prior events causing it.

Usually the wrong behavior can be encountered via reparsing the file.


https://reviews.llvm.org/D47460





More information about the cfe-commits mailing list