Fix missing triple support for RTEMS target.

llvm-svn: 134532
This commit is contained in:
Eli Friedman 2011-07-06 20:56:26 +00:00
parent 641b6e4222
commit c3200e013c

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