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

2019-05-23 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov abandoned this revision. ilya-biryukov added a subscriber: sammccall. ilya-biryukov added a comment. abandoning in favor of the change landed by @sammccall that resolves uses absolute paths instead of `at`-family functions. CHANGES SINCE LAST ACTION

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

2017-08-03 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added a comment. Requires changes in Support library to run correctly: https://reviews.llvm.org/D36265 https://reviews.llvm.org/D36226 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

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

2017-08-03 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov updated this revision to Diff 109524. ilya-biryukov added a comment. Added a very rough prototype of vfs::RealFileSystem not using openat. Not ready for submission yet, wanted to start discussion about Windows implementation. https://reviews.llvm.org/D36226 Files:

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

2017-08-03 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov planned changes to this revision. ilya-biryukov added a comment. After a chat with @klimek, working on an implementation that would use `openAt()`. https://reviews.llvm.org/D36226 ___ cfe-commits mailing list

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

2017-08-02 Thread Ilya Biryukov via Phabricator via cfe-commits
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

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

2017-08-02 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov created this revision. Allows to have multiple instances of RealFileSystem that have different working directories. https://reviews.llvm.org/D36226 Files: include/clang/Basic/VirtualFileSystem.h lib/Basic/VirtualFileSystem.cpp unittests/Basic/VirtualFileSystemTest.cpp