[PCH/Modules] Don't tie TargetOptions::LinkerVersion to a module/PCH, it's a driver only thing and doesn't affect any language/preprocessor/etc. semantics.
rdar://16714526 llvm-svn: 207570
This commit is contained in:
@@ -1819,7 +1819,7 @@ std::string CompilerInvocation::getModuleHash() const {
|
||||
|
||||
// Extend the signature with the target options.
|
||||
code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU,
|
||||
TargetOpts->ABI, TargetOpts->LinkerVersion);
|
||||
TargetOpts->ABI);
|
||||
for (unsigned i = 0, n = TargetOpts->FeaturesAsWritten.size(); i != n; ++i)
|
||||
code = hash_combine(code, TargetOpts->FeaturesAsWritten[i]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user