Fix missing triple support for RTEMS target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman 2011-07-06 20:56:26 +00:00
parent 037d1c0c7e
commit b0e77a228f

View File

@ -351,6 +351,8 @@ Triple::OSType Triple::ParseOS(StringRef OSName) {
return Haiku;
else if (OSName.startswith("minix"))
return Minix;
else if (OSName.startswith("rtems"))
return RTEMS;
else
return UnknownOS;
}