Revert r182331, these checks should be based on the target not the host.
llvm-svn: 182333
This commit is contained in:
@@ -1690,7 +1690,6 @@ std::string CompilerInvocation::getModuleHash() const {
|
||||
hsOpts.UseStandardCXXIncludes,
|
||||
hsOpts.UseLibcxx);
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Darwin-specific hack: if we have a sysroot, use the contents and
|
||||
// modification time of
|
||||
// $sysroot/System/Library/CoreServices/SystemVersion.plist
|
||||
@@ -1711,7 +1710,6 @@ std::string CompilerInvocation::getModuleHash() const {
|
||||
code = hash_combine(code, statBuf.st_mtime);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return llvm::APInt(64, code).toString(36, /*Signed=*/false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user