mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add PSP OS Target to Triple, Credit to Bruno Cardoso Lopes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2cb097d5cd
commit
e0fb75d586
@ -94,6 +94,7 @@ public:
|
||||
MinGW64,
|
||||
NetBSD,
|
||||
OpenBSD,
|
||||
Psp,
|
||||
Solaris,
|
||||
Win32,
|
||||
Haiku
|
||||
|
@ -94,6 +94,7 @@ const char *Triple::getOSTypeName(OSType Kind) {
|
||||
case MinGW64: return "mingw64";
|
||||
case NetBSD: return "netbsd";
|
||||
case OpenBSD: return "openbsd";
|
||||
case Psp: return "psp";
|
||||
case Solaris: return "solaris";
|
||||
case Win32: return "win32";
|
||||
case Haiku: return "haiku";
|
||||
@ -273,6 +274,8 @@ void Triple::Parse() const {
|
||||
OS = NetBSD;
|
||||
else if (OSName.startswith("openbsd"))
|
||||
OS = OpenBSD;
|
||||
else if (OSName.startswith("psp"))
|
||||
OS = Psp;
|
||||
else if (OSName.startswith("solaris"))
|
||||
OS = Solaris;
|
||||
else if (OSName.startswith("win32"))
|
||||
|
Loading…
Reference in New Issue
Block a user