mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #60610 from xymus/serial-root-message
[Serialization] Suggest a solution path for modified swiftmodules causing deserialization failures
This commit is contained in:
@@ -564,6 +564,8 @@ void ModuleFileSharedCore::fatal(llvm::Error error) const {
|
||||
llvm::raw_svector_ostream out(errorStr);
|
||||
|
||||
out << "*** DESERIALIZATION FAILURE ***\n";
|
||||
out << "*** If any module named here was modified in the SDK, please delete the ***\n";
|
||||
out << "*** new swiftmodule files from the SDK and keep only swiftinterfaces. ***\n";
|
||||
outputDiagnosticInfo(out);
|
||||
out << "\n";
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user