ABI-checker: specify default baseline file names for non-Darwin platforms

rdar://62111064
This commit is contained in:
Xi Ge
2020-04-21 09:23:48 -07:00
parent 081171c508
commit 7f8b5f7ead

View File

@@ -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);