[PATCH] D36226: Added a RealFileSystem implementation that does not rely on global CWD.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 2 09:35:30 PDT 2017


ilya-biryukov added a comment.

Also tested by temporarily replacing `getRealFileSystem()` body with `return createThreadFriendlyRealFS();` and running `check-all`, all tests passed.
To be more specific, there was one crash in clang-format, as there is a piece of code that uses raw pointer from `getRealFileSystem` instead of ref-counted (i.e. it calls `getRealFileSystem().get()`). After working around that, all tests passed.


https://reviews.llvm.org/D36226





More information about the cfe-commits mailing list