diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-05-04 04:35:31 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-05-04 04:35:31 +0000 |
commit | 1b1256a1b1bb665b86c7c74782e75f6e050973a8 (patch) | |
tree | b44c1828e1a9e0dd4671c70ea0e6dd2c14c8f166 | |
parent | 956c2ec532ab716f05cf51e8a5634088a8d728f4 (diff) | |
download | bcm5719-llvm-1b1256a1b1bb665b86c7c74782e75f6e050973a8.tar.gz bcm5719-llvm-1b1256a1b1bb665b86c7c74782e75f6e050973a8.zip |
[Modules] Add the resource-dir to the module hash.
llvm-svn: 207931
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 3 |
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); |