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;
|
return Minix;
|
||||||
else if (OSName.startswith("rtems"))
|
else if (OSName.startswith("rtems"))
|
||||||
return RTEMS;
|
return RTEMS;
|
||||||
|
else if (OSName.startswith("nacl"))
|
||||||
|
return NativeClient;
|
||||||
else
|
else
|
||||||
return UnknownOS;
|
return UnknownOS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue