llvm.org GIT mirror llvm / 0dde4c0
ADT/Triple: Add support for more explicit "osx" and "ios" OS names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129798 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 9 years ago
2 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
8282 Darwin,
8383 DragonFly,
8484 FreeBSD,
85 IOS,
8586 Linux,
8687 Lv2, // PS3
8788 MinGW32, // i*86-pc-mingw32, *-w64-mingw32
8889 NetBSD,
90 OSX,
8991 OpenBSD,
9092 Psp,
9193 Solaris,
9898 case Darwin: return "darwin";
9999 case DragonFly: return "dragonfly";
100100 case FreeBSD: return "freebsd";
101 case IOS: return "ios";
101102 case Linux: return "linux";
102103 case Lv2: return "lv2";
103104 case MinGW32: return "mingw32";
104105 case NetBSD: return "netbsd";
106 case OSX: return "osx";
105107 case OpenBSD: return "openbsd";
106108 case Psp: return "psp";
107109 case Solaris: return "solaris";
313315 return DragonFly;
314316 else if (OSName.startswith("freebsd"))
315317 return FreeBSD;
318 else if (OSName.startswith("ios"))
319 return IOS;
316320 else if (OSName.startswith("linux"))
317321 return Linux;
318322 else if (OSName.startswith("lv2"))
321325 return MinGW32;
322326 else if (OSName.startswith("netbsd"))
323327 return NetBSD;
328 else if (OSName.startswith("osx"))
329 return OSX;
324330 else if (OSName.startswith("openbsd"))
325331 return OpenBSD;
326332 else if (OSName.startswith("psp"))