[all-commits] [llvm/llvm-project] fb89cc: [clang][modules] Don't depend on sharing FileManag...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Fri Aug 5 12:32:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb89cc0ddbd9a588ee15148451e7d0bcbc1ef411
https://github.com/llvm/llvm-project/commit/fb89cc0ddbd9a588ee15148451e7d0bcbc1ef411
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/lib/Frontend/CompilerInstance.cpp
M clang/test/ClangScanDeps/modulemap-via-vfs.m
A clang/test/Modules/submodule-in-private-mmap-vfs.m
M clang/test/VFS/module-import.m
Log Message:
-----------
[clang][modules] Don't depend on sharing FileManager during module build
Sharing the FileManager between the importer and the module build should
only be an optimization. Add a cc1 option -fno-modules-share-filemanager
to allow us to test this. Fix the path to modulemap files, which
previously depended on the shared FileManager when using path mapped to
an external file in a VFS.
Differential Revision: https://reviews.llvm.org/D131076
More information about the All-commits
mailing list