We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aa2cfd commit 3493c19Copy full SHA for 3493c19
lld/MachO/InputFiles.cpp
@@ -157,6 +157,11 @@ static bool checkCompatibility(const InputFile *input) {
157
if (platformInfos.empty())
158
return true;
159
160
+ // Swift LLVM fork downstream change start
161
+ error("This version of lld does not support linking for platform " + getPlatformName(platformInfos.front().target.Platform));
162
+ return false;
163
+ // Swift LLVM fork downstream change end
164
+
165
auto it = find_if(platformInfos, [&](const PlatformInfo &info) {
166
return removeSimulator(info.target.Platform) ==
167
removeSimulator(config->platform());
0 commit comments