forked from OSchip/llvm-project
parent
8b1265b353
commit
688b6c01ce
|
@ -1791,7 +1791,7 @@ std::string CompilerInvocation::getModuleHash() const {
|
|||
llvm::sys::path::append(systemVersionFile, "Library");
|
||||
llvm::sys::path::append(systemVersionFile, "CoreServices");
|
||||
llvm::sys::path::append(systemVersionFile, "SystemVersion.plist");
|
||||
if (!llvm::MemoryBuffer::getFile(systemVersionFile.c_str(), buffer)) {
|
||||
if (!llvm::MemoryBuffer::getFile(systemVersionFile.str(), buffer)) {
|
||||
code = hash_combine(code, buffer.get()->getBuffer());
|
||||
|
||||
struct stat statBuf;
|
||||
|
|
Loading…
Reference in New Issue