Skip to content

Commit 3598797

Browse files
committed
[lldb] Add missing serialization status strings
1 parent b068ac5 commit 3598797

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,11 @@ static const char *getImportFailureString(swift::serialization::Status status) {
12681268
case swift::serialization::Status::TargetTooNew:
12691269
return "The module file was built for a target newer than the current "
12701270
"target.";
1271+
case swift::serialization::Status::SDKMismatch:
1272+
return "The module file was built with a different SDK than the one in use "
1273+
"to build the client.";
1274+
case swift::serialization::Status::RevisionIncompatible:
1275+
return "The precise revision version doesn't match.";
12711276
}
12721277
}
12731278

0 commit comments

Comments
 (0)