diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-04-29 18:45:01 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-04-29 18:45:01 +0000 |
commit | fe6b880de557bf7775c6c904c50df21b6d2d963f (patch) | |
tree | 41582b9fd965d7cd894ef19af92cc0a3611c2c0c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | deab6f945c1ccf899f83d3db6cf03e1a8c72a432 (diff) | |
download | llvm-fe6b880de557bf7775c6c904c50df21b6d2d963f.zip llvm-fe6b880de557bf7775c6c904c50df21b6d2d963f.tar.gz llvm-fe6b880de557bf7775c6c904c50df21b6d2d963f.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index d10edd8..4d0c01d 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -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]); |