[all-commits] [llvm/llvm-project] 4f6174: [clang] support relative roots to vfs overlays
Richard Howell via All-commits
all-commits at lists.llvm.org
Wed Jan 19 10:13:20 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f61749e16f63b0c9ebd9bdd1f8bf4f570a31692
https://github.com/llvm/llvm-project/commit/4f61749e16f63b0c9ebd9bdd1f8bf4f570a31692
Author: Richard Howell <rhow at fb.com>
Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths:
A clang/test/VFS/Inputs/vfsoverlay-root-relative.yaml
A clang/test/VFS/vfsoverlay-relative-root.c
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/unittests/Support/VirtualFileSystemTest.cpp
Log Message:
-----------
[clang] support relative roots to vfs overlays
This diff adds support for relative roots to VFS overlays. The directory root
will be made absolute from the current working directory and will be used to
determine the path style to use. This supports the use of VFS overlays with
remote build systems that might use a different working directory for each
compilation.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D116174
More information about the All-commits
mailing list