[Modules] Emit the module file paths as dependencies of the PCH when we are building one.
This is because the PCH is tied to the module files, if one of the module files changes or gets removed the build system should re-build the PCH file. rdar://16321245 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203885 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Driver/CC1Options.td 2 additions, 0 deletionsinclude/clang/Driver/CC1Options.td
- include/clang/Frontend/DependencyOutputOptions.h 2 additions, 0 deletionsinclude/clang/Frontend/DependencyOutputOptions.h
- include/clang/Serialization/ASTReader.h 4 additions, 0 deletionsinclude/clang/Serialization/ASTReader.h
- lib/Driver/Tools.cpp 3 additions, 0 deletionslib/Driver/Tools.cpp
- lib/Frontend/CompilerInvocation.cpp 1 addition, 0 deletionslib/Frontend/CompilerInvocation.cpp
- lib/Frontend/DependencyFile.cpp 9 additions, 1 deletionlib/Frontend/DependencyFile.cpp
- lib/Serialization/ASTReader.cpp 7 additions, 0 deletionslib/Serialization/ASTReader.cpp
- test/Driver/pch-deps.c 10 additions, 0 deletionstest/Driver/pch-deps.c
- test/Modules/dependency-gen-pch.m 12 additions, 0 deletionstest/Modules/dependency-gen-pch.m
Loading
Please register or sign in to comment