Skip to content

Commit 6049788

Browse files
author
David Ungar
committed
Show bad fingerprint.
1 parent a094afe commit 6049788

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/AST/FineGrainedDependencyFormat.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ bool Deserializer::readFineGrainedDependencyGraph(SourceFileDepGraph &g,
234234
if (auto fingerprint = Fingerprint::fromString(BlobData))
235235
node->setFingerprint(fingerprint.getValue());
236236
else
237-
llvm::report_fatal_error("Unconvertable FINGERPRINT_NODE record");
237+
llvm::report_fatal_error(Twine("Unconvertable FINGERPRINT_NODE record: '") + BlobData + "'" );
238238
break;
239239
}
240240

lib/Serialization/ModuleFileCoreTableInfo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ class ModuleFileSharedCore::DeclFingerprintsTableInfo {
604604
Fingerprint::DIGEST_LENGTH};
605605
if (auto fp = Fingerprint::fromString(str))
606606
return fp.getValue();
607-
llvm::errs() << "Unconvertable fingerprint\n";
607+
llvm::errs() << "Unconvertable fingerprint '" << str << "'\n";
608608
abort();
609609
}
610610
};

0 commit comments

Comments
 (0)