Skip to content

Commit 3fed6e5

Browse files
committed
[LLDB] Add clarification to error message (NFC)
1 parent d604b9b commit 3fed6e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,9 @@ static const char *getImportFailureString(swift::serialization::Status status) {
11831183
case swift::serialization::Status::SDKMismatch:
11841184
return "The module file was built with a different SDK version.";
11851185
case swift::serialization::Status::ChannelIncompatible:
1186-
return "The distribution channel doesn't match.";
1186+
return "The distribution channel doesn't match."
1187+
" This version of LLDB is most likely from a different toolchain"
1188+
" than the Swift compiler that built this module.";
11871189
}
11881190
}
11891191

0 commit comments

Comments
 (0)