mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Add NativeClient support to Triple::ParseOS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c2165bbd0
commit
d883453213
@ -356,6 +356,8 @@ Triple::OSType Triple::ParseOS(StringRef OSName) {
|
||||
return Minix;
|
||||
else if (OSName.startswith("rtems"))
|
||||
return RTEMS;
|
||||
else if (OSName.startswith("nacl"))
|
||||
return NativeClient;
|
||||
else
|
||||
return UnknownOS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user