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 dca31a7964
commit 499647bfc3
1 changed files with 2 additions and 0 deletions

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