summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
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
commita92193cf097c0e38a209a8f7684214cf443f4069 (patch)
tree2ccf772b9fa99160cc043d1acf8595f2bef9d85b /lib/Frontend/CompilerInvocation.cpp
parentb25d6195ccdb5bbf5cd95572e11f8c164f45bbe5 (diff)
downloadclang-a92193cf097c0e38a209a8f7684214cf443f4069.tar.gz
clang-a92193cf097c0e38a209a8f7684214cf443f4069.tar.bz2
clang-a92193cf097c0e38a209a8f7684214cf443f4069.tar.xz
[Modules] Add the resource-dir to the module hash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 9321f89281..25bb881702 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/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);