r207931 - [Modules] Add the resource-dir to the module hash.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Sat May 3 21:35:31 PDT 2014
Author: akirtzidis
Date: Sat May 3 23:35:31 2014
New Revision: 207931
URL: http://llvm.org/viewvc/llvm-project?rev=207931&view=rev
Log:
[Modules] Add the resource-dir to the module hash.
Modified:
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=207931&r1=207930&r2=207931&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Sat May 3 23:35:31 2014
@@ -1844,7 +1844,8 @@ std::string CompilerInvocation::getModul
}
// 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);
More information about the cfe-commits
mailing list