We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78cfad commit d913dfeCopy full SHA for d913dfe
lib/Serialization/ModuleFile.cpp
@@ -986,7 +986,12 @@ void ModuleFile::collectBasicSourceFileInfo(
986
987
BasicSourceFileInfo info;
988
info.FilePath = filePath;
989
- info.InterfaceHash = Fingerprint::fromString(fpStr);
+ if (auto fingerprint = Fingerprint::fromString(fpStr))
990
+ info.InterfaceHash = fingerprint.getValue();
991
+ else {
992
+ llvm::errs() << "Unconvertable fingerprint '" << fpStr << "'\n";
993
+ abort();
994
+ }
995
info.LastModified =
996
llvm::sys::TimePoint<>(std::chrono::nanoseconds(timestamp));
997
info.FileSize = fileSize;
0 commit comments