[PATCH] D53522: [Frontend] Include module map header declaration in dependency file output
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 22 12:47:24 PDT 2018
erik.pilkington created this revision.
erik.pilkington added reviewers: bruno, rsmith.
Herald added a subscriber: dexonsmith.
This patch makes clang include headers found in modulemap files in the `.d` file. This is necessary to capture symlinked headers, which previously were ignored, since only the canonical version of the file makes it into the pcm. This is a corollary to the -module-dependency-dir version from r264971.
rdar://44604913
Thanks for taking a look!
Erik
Repository:
rC Clang
https://reviews.llvm.org/D53522
Files:
clang/include/clang/Lex/ModuleMap.h
clang/lib/Frontend/DependencyFile.cpp
clang/lib/Frontend/ModuleDependencyCollector.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Serialization/ASTReader.cpp
clang/test/Modules/Inputs/dfg-symlinks.modulemap
clang/test/Modules/dependency-file-symlinks.c
clang/test/Modules/dependency-gen-pch.m
clang/test/Modules/dependency-gen.m
clang/test/Modules/dependency-gen.modulemap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53522.170476.patch
Type: text/x-patch
Size: 12299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181022/16220d9e/attachment.bin>
More information about the cfe-commits
mailing list