OSDN Git Service

Reapply [VFS] Allow multiple RealFileSystem instances with independent CWDs.
authorSam McCall <sam.mccall@gmail.com>
Thu, 14 Feb 2019 12:57:01 +0000 (12:57 +0000)
committerSam McCall <sam.mccall@gmail.com>
Thu, 14 Feb 2019 12:57:01 +0000 (12:57 +0000)
commitc5767506b555781e756cc395195850f4310fa5fc
treede792a59563a8cb04e31c9c3f2b4f3d68534d536
parent3cb9895a5c9b66a11f2ad9c729931028521fade6
Reapply [VFS] Allow multiple RealFileSystem instances with independent CWDs.

This reverts commit r351091.
The original mac breakages are addressed by ensuring the root directory
we're working from is fully symlink-resolved before starting.

Differential Revision: https://reviews.llvm.org/D58169

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354026 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/VirtualFileSystem.h
lib/Support/VirtualFileSystem.cpp
unittests/Support/VirtualFileSystemTest.cpp