Add FreeBSD Option handling.

This commit is contained in:
Landon Fuller
2015-12-03 23:37:16 -07:00
parent 0f6380ef4d
commit 6bf5a4989e
3 changed files with 10 additions and 2 deletions

View File

@@ -64,5 +64,8 @@ StringRef swift::getPlatformNameForTriple(const llvm::Triple &triple) {
if (triple.isOSLinux())
return "linux";
if (triple.isOSFreeBSD())
return "freebsd";
return "";
}