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:
Ivan Krasin 2011-08-22 23:08:53 +00:00
parent 0c2165bbd0
commit d883453213

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