Add NativeClient support to Triple::ParseOS.

llvm-svn: 138291
This commit is contained in:
Ivan Krasin 2011-08-22 23:08:53 +00:00
parent 40da063178
commit b296790bb6
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}