mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ABI-checker: specify default baseline file names for non-Darwin platforms
rdar://62111064
This commit is contained in:
@@ -2700,6 +2700,10 @@ static StringRef getBaselineFilename(llvm::Triple Triple) {
|
||||
return "appletvos.json";
|
||||
else if (Triple.isWatchOS())
|
||||
return "watchos.json";
|
||||
else if (Triple.isOSLinux())
|
||||
return "linux.json";
|
||||
else if (Triple.isOSWindows())
|
||||
return "windows.json";
|
||||
else {
|
||||
llvm::errs() << "Unsupported triple target\n";
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user