Add NativeClient support to Triple::ParseOS.
llvm-svn: 138291
This commit is contained in:
parent
40da063178
commit
b296790bb6
|
@ -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