mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Add PSP OS Target to Triple, Credit to Bruno Cardoso Lopes.
llvm-svn: 88849
This commit is contained in:
parent
20a9eda5a2
commit
c672c34d7a
@ -94,6 +94,7 @@ public:
|
|||||||
MinGW64,
|
MinGW64,
|
||||||
NetBSD,
|
NetBSD,
|
||||||
OpenBSD,
|
OpenBSD,
|
||||||
|
Psp,
|
||||||
Solaris,
|
Solaris,
|
||||||
Win32,
|
Win32,
|
||||||
Haiku
|
Haiku
|
||||||
|
@ -94,6 +94,7 @@ const char *Triple::getOSTypeName(OSType Kind) {
|
|||||||
case MinGW64: return "mingw64";
|
case MinGW64: return "mingw64";
|
||||||
case NetBSD: return "netbsd";
|
case NetBSD: return "netbsd";
|
||||||
case OpenBSD: return "openbsd";
|
case OpenBSD: return "openbsd";
|
||||||
|
case Psp: return "psp";
|
||||||
case Solaris: return "solaris";
|
case Solaris: return "solaris";
|
||||||
case Win32: return "win32";
|
case Win32: return "win32";
|
||||||
case Haiku: return "haiku";
|
case Haiku: return "haiku";
|
||||||
@ -273,6 +274,8 @@ void Triple::Parse() const {
|
|||||||
OS = NetBSD;
|
OS = NetBSD;
|
||||||
else if (OSName.startswith("openbsd"))
|
else if (OSName.startswith("openbsd"))
|
||||||
OS = OpenBSD;
|
OS = OpenBSD;
|
||||||
|
else if (OSName.startswith("psp"))
|
||||||
|
OS = Psp;
|
||||||
else if (OSName.startswith("solaris"))
|
else if (OSName.startswith("solaris"))
|
||||||
OS = Solaris;
|
OS = Solaris;
|
||||||
else if (OSName.startswith("win32"))
|
else if (OSName.startswith("win32"))
|
||||||
|
Loading…
Reference in New Issue
Block a user