From 1b1256a1b1bb665b86c7c74782e75f6e050973a8 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 4 May 2014 04:35:31 +0000 Subject: [Modules] Add the resource-dir to the module hash. llvm-svn: 207931 --- clang/lib/Frontend/CompilerInvocation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 9321f89..25bb881 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); -- cgit v1.1