summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-04 04:35:31 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-04 04:35:31 +0000
commit1b1256a1b1bb665b86c7c74782e75f6e050973a8 (patch)
treeb44c1828e1a9e0dd4671c70ea0e6dd2c14c8f166 /clang
parent956c2ec532ab716f05cf51e8a5634088a8d728f4 (diff)
downloadbcm5719-llvm-1b1256a1b1bb665b86c7c74782e75f6e050973a8.tar.gz
bcm5719-llvm-1b1256a1b1bb665b86c7c74782e75f6e050973a8.zip
[Modules] Add the resource-dir to the module hash.
llvm-svn: 207931
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 9321f892815..25bb881702d 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1844,7 +1844,8 @@ std::string CompilerInvocation::getModuleHash() const {
}
// Extend the signature with the sysroot.
- code = hash_combine(code, hsOpts.Sysroot, hsOpts.UseBuiltinIncludes,
+ code = hash_combine(code, hsOpts.Sysroot, hsOpts.ResourceDir,
+ hsOpts.UseBuiltinIncludes,
hsOpts.UseStandardSystemIncludes,
hsOpts.UseStandardCXXIncludes,
hsOpts.UseLibcxx);
OpenPOWER on IntegriCloud