[all-commits] [llvm/llvm-project] 041924: [Clang][ScanDeps] Use the virtual path for module ...
Michael Spencer via All-commits
all-commits at lists.llvm.org
Tue Dec 14 10:21:57 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04192422c4e3b730c580498b8e948088cb15580b
https://github.com/llvm/llvm-project/commit/04192422c4e3b730c580498b8e948088cb15580b
Author: Michael Spencer <bigcheesegs at gmail.com>
Date: 2021-12-14 (Tue, 14 Dec 2021)
Changed paths:
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
A clang/test/ClangScanDeps/modulemap-via-vfs.m
Log Message:
-----------
[Clang][ScanDeps] Use the virtual path for module maps
Make clang-scan-deps use the virtual path for module maps instead of the on disk
path. This is needed so that modulemap relative lookups are done correctly in
the actual module builds. The file dependencies still use the on disk path as
that's what matters for build invalidation.
Differential Revision: https://reviews.llvm.org/D114206
More information about the All-commits
mailing list